using SqlSugar;
using System;
namespace HT.Cloud.Domain.OrderManagement
{
///
/// 创 建:超级管理员
/// 日 期:2021-07-12 20:40
/// 描 述:订单明细实体类
///
[SugarTable("crm_orderdetail")]
[TenantAttribute("0")]
public class OrderDetailEntity : IEntity, ICreationAudited
{
///
/// 主键
///
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
public string F_Id { get; set; }
///
/// 订单Id
///
[SugarColumn(IsNullable = false, ColumnName = "F_OrderId", ColumnDataType = "nvarchar(50)", ColumnDescription = "订单Id", UniqueGroupNameList = new string[] { "crm_orderdetail" })]
public string F_OrderId { get; set; }
///
/// 订单状态
///
[SugarColumn(IsNullable = false, ColumnName = "F_OrderState", ColumnDescription = "订单状态")]
public int? F_OrderState { get; set; }
///
/// 产品名称
///
[SugarColumn(IsNullable = true, ColumnName = "F_ProductName", ColumnDataType = "nvarchar(50)", ColumnDescription = "产品名称", UniqueGroupNameList = new string[] { "crm_orderdetail" })]
public string F_ProductName { get; set; }
///
/// 产品规格
///
[SugarColumn(IsNullable = true, ColumnName = "F_ProductDescription", ColumnDataType = "nvarchar(100)", ColumnDescription = "产品规格")]
public string F_ProductDescription { get; set; }
///
/// 产品单位
///
[SugarColumn(IsNullable = true, ColumnName = "F_ProductUnit", ColumnDataType = "nvarchar(5)", ColumnDescription = "产品单位")]
public string F_ProductUnit { get; set; }
///
/// 需求数量
///
[SugarColumn(IsNullable = true, ColumnName = "F_NeedNum", ColumnDescription = "需求数量")]
public int? F_NeedNum { get; set; }
///
/// 实际数量
///
[SugarColumn(IsNullable = true, ColumnName = "F_ActualNum", ColumnDescription = "实际数量")]
public int? F_ActualNum { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "备注")]
public string F_Description { get; set; }
///
/// 创建时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
///
/// 创建人Id
///
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
///
///
///
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人")]
public string F_CreatorUserName { get; set; }
///
/// 需求时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "需求时间")]
public DateTime? F_NeedTime { get; set; }
///
/// 实际时间
///
[SugarColumn(IsNullable = true, ColumnDescription = "实际时间")]
public DateTime? F_ActualTime { get; set; }
}
}