Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Points/PointsOrdersAdminListRsp.cs

133 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Points
{
public class PointsOrdersAdminListRsp
{
public long Id { get; set; }
/// <summary>
/// 兑换人
///</summary>
public string RealName { get; set; }
/// <summary>
/// 备 注:商品名称
/// 默认值:
///</summary>
public string GoodsName { get; set; }
/// <summary>
/// 备 注:兑换数量
/// 默认值:
///</summary>
public int GoodsCount { get; set; }
/// <summary>
/// 备 注:兑换时间
/// 默认值:
///</summary>
public DateTime ConvertTime { get; set; }
/// <summary>
/// 备 注:所需积分(价格)
/// 默认值:
///</summary>
public int GoodsPointsCount { get; set; }
/// <summary>
/// 备 注:状态默认0下架、1上架
/// 默认值:
///</summary>
public int Status { get; set; }
/// <summary>
/// 备 注:状态默认0下架、1上架
/// 默认值:
///</summary>
public string StatusName { get; set; }
/// <summary>
/// 备 注:收货地址
/// 默认值:
///</summary>
public string? UserAddress { get; set; }
/// <summary>
/// 备 注:快递单号(发货后)
/// 默认值:
///</summary>
public string? TrackingNumber { get; set; }
/// <summary>
/// 备 注:手机号
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "user_phone")]
public string? UserPhone { get; set; }
/// <summary>
/// 备 注:收货人,下单时写入收货地址表的收货人姓名
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "consignee")]
public string? Consignee { get; set; }
}
public class PointsOrdersAdminExport
{
[Column("订单ID")]
public long Id { get; set; }
/// <summary>
/// 兑换人
///</summary>
[Column("姓名")]
public string RealName { get; set; }
/// <summary>
/// 手机号
///</summary>
[Column("手机号")]
public string PhoneNum { get; set; }
/// <summary>
/// 备 注:商品名称
/// 默认值:
///</summary>
[Column("商品")]
public string GoodsName { get; set; }
/// <summary>
/// 备 注:兑换数量
/// 默认值:
///</summary>
[Column("数量")]
public int GoodsCount { get; set; }
/// <summary>
/// 备 注:收货地址
/// 默认值:
///</summary>
[Column("收货地址")]
public string? UserAddress { get; set; }
/// <summary>
/// 备 注:快递单号(发货后)
/// 默认值:
///</summary>
[Column("快递单号")]
public string? TrackingNumber { get; set; }
}
}