using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace LearningOfficer.OA.Core.Entities.OA.PointsGoods { /// /// 积分兑换订单表 /// [SugarTable("points_orders")] public class PointsOrders : BaseEntity { /// /// 备 注:兑换商品id /// 默认值: /// [SugarColumn(ColumnName = "goods_id")] public long GoodsId { get; set; } /// /// 备 注:兑换数量 /// 默认值: /// [SugarColumn(ColumnName = "goods_count")] public int GoodsCount { get; set; } /// /// 备 注:共计花费积分数 /// 默认值: /// [SugarColumn(ColumnName = "change_points")] public int ChangePoints { get; set; } /// /// 备 注:兑换人id /// 默认值: /// [SugarColumn(ColumnName = "userid")] public long Userid { get; set; } /// /// 备 注:兑换时间 /// 默认值: /// [SugarColumn(ColumnName = "add_time")] public DateTime AddTime { get; set; } /// /// 备 注:用户收获地址id /// 默认值: /// [SugarColumn(ColumnName = "user_address_id")] public long UserAddressId { get; set; } /// /// 备 注:用户收获地址具体信息,不被修改影响 /// 默认值: /// [SugarColumn(ColumnName = "user_address_detail")] public string UserAddressDetail { get; set; } = ""; /// /// 备 注:发货状态(0待发货、1已发货) /// 默认值: /// [SugarColumn(ColumnName = "status")] public int Status { get; set; } /// /// 备 注:快递单号(发货后) /// 默认值: /// [SugarColumn(ColumnName = "tracking_number")] public string? TrackingNumber { get; set; } /// /// 备 注:最后一次更新时间 /// 默认值: /// [SugarColumn(ColumnName = "update_time")] public DateTime UpdateTime { get; set; } /// /// 备 注:商品图片 /// 默认值: /// [SugarColumn(ColumnName = "goods_img")] public string? GoodsImg { get; set; } /// /// 备 注:商品名称 /// 默认值: /// [SugarColumn(ColumnName = "goods_name")] public string? GoodsName { get; set; } /// /// 备 注:手机号 /// 默认值: /// [SugarColumn(ColumnName = "user_phone")] public string? UserPhone { get; set; } /// /// 备 注:收货人,下单时写入收货地址表的收货人姓名 /// 默认值: /// [SugarColumn(ColumnName = "consignee")] public string? Consignee { get; set; } } }