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; } /// /// 兑换人 /// public string RealName { get; set; } /// /// 备 注:商品名称 /// 默认值: /// public string GoodsName { get; set; } /// /// 备 注:兑换数量 /// 默认值: /// public int GoodsCount { get; set; } /// /// 备 注:兑换时间 /// 默认值: /// public DateTime ConvertTime { get; set; } /// /// 备 注:所需积分(价格) /// 默认值: /// public int GoodsPointsCount { get; set; } /// /// 备 注:状态(默认0下架、1上架) /// 默认值: /// public int Status { get; set; } /// /// 备 注:状态(默认0下架、1上架) /// 默认值: /// public string StatusName { get; set; } /// /// 备 注:收货地址 /// 默认值: /// public string? UserAddress { get; set; } /// /// 备 注:快递单号(发货后) /// 默认值: /// public string? TrackingNumber { get; set; } /// /// 备 注:手机号 /// 默认值: /// [SugarColumn(ColumnName = "user_phone")] public string? UserPhone { get; set; } /// /// 备 注:收货人,下单时写入收货地址表的收货人姓名 /// 默认值: /// [SugarColumn(ColumnName = "consignee")] public string? Consignee { get; set; } } public class PointsOrdersAdminExport { [Column("订单ID")] public long Id { get; set; } /// /// 兑换人 /// [Column("姓名")] public string RealName { get; set; } /// /// 手机号 /// [Column("手机号")] public string PhoneNum { get; set; } /// /// 备 注:商品名称 /// 默认值: /// [Column("商品")] public string GoodsName { get; set; } /// /// 备 注:兑换数量 /// 默认值: /// [Column("数量")] public int GoodsCount { get; set; } /// /// 备 注:收货地址 /// 默认值: /// [Column("收货地址")] public string? UserAddress { get; set; } /// /// 备 注:快递单号(发货后) /// 默认值: /// [Column("快递单号")] public string? TrackingNumber { get; set; } } }