Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/PointsGoods/PointsOrders.cs

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