namespace Admin.NET.Plugin.AiDOP.Order;
///
/// 销售订单明细表(crm_seorderentry)
///
[IgnoreTable]
[SugarTable("crm_seorderentry", "销售订单明细表")]
public class SeOrderEntry
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
public long Id { get; set; }
[SugarColumn(ColumnName = "seorder_id")]
public long SeOrderId { get; set; }
[SugarColumn(ColumnName = "bill_no", Length = 64)]
public string? BillNo { get; set; }
[SugarColumn(ColumnName = "entry_seq")]
public int? EntrySeq { get; set; }
[SugarColumn(ColumnName = "item_number", Length = 64)]
public string? ItemNumber { get; set; }
[SugarColumn(ColumnName = "item_name", Length = 128)]
public string? ItemName { get; set; }
[SugarColumn(ColumnName = "specification", Length = 256)]
public string? Specification { get; set; }
[SugarColumn(ColumnName = "unit", Length = 32)]
public string? Unit { get; set; }
[SugarColumn(ColumnName = "qty")]
public decimal? Qty { get; set; }
/// 客户要求交期
[SugarColumn(ColumnName = "plan_date")]
public DateTime? PlanDate { get; set; }
/// 最终交货日期
[SugarColumn(ColumnName = "date")]
public DateTime? Date { get; set; }
/// 系统建议交期(产能)
[SugarColumn(ColumnName = "sys_capacity_date")]
public DateTime? SysCapacityDate { get; set; }
[SugarColumn(ColumnName = "remark", Length = 512)]
public string? Remark { get; set; }
/// 0=再评审 1=新建 2=评审 3=确认
[SugarColumn(ColumnName = "progress")]
public int? Progress { get; set; }
[SugarColumn(ColumnName = "deliver_count")]
public decimal? DeliverCount { get; set; }
[SugarColumn(ColumnName = "create_by", Length = 64)]
public string? CreateBy { get; set; }
[SugarColumn(ColumnName = "IsDeleted")]
public int IsDeleted { get; set; } = 0;
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
}