| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- namespace Admin.NET.Plugin.AiDOP.Order;
- /// <summary>
- /// 销售订单主表(crm_seorder)
- /// </summary>
- [IgnoreTable]
- [SugarTable("crm_seorder", "销售订单表")]
- public class SeOrder
- {
- [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "bill_no", Length = 64)]
- public string? BillNo { get; set; }
- /// <summary>1=销售 2=计划</summary>
- [SugarColumn(ColumnName = "order_type")]
- public int? OrderType { get; set; }
- [SugarColumn(ColumnName = "custom_id")]
- public long? CustomId { get; set; }
- [SugarColumn(ColumnName = "custom_no", Length = 64)]
- public string? CustomNo { get; set; }
- [SugarColumn(ColumnName = "custom_name", Length = 128)]
- public string? CustomName { get; set; }
- /// <summary>签订日期</summary>
- [SugarColumn(ColumnName = "date")]
- public DateTime? Date { get; set; }
- [SugarColumn(ColumnName = "custom_level")]
- public int? CustomLevel { get; set; }
- /// <summary>1=加急 0=普通</summary>
- [SugarColumn(ColumnName = "urgent")]
- public int? Urgent { get; set; }
- /// <summary>客户订单号</summary>
- [SugarColumn(ColumnName = "bill_from", Length = 128)]
- public string? BillFrom { get; set; }
- [SugarColumn(ColumnName = "country", Length = 64)]
- public string? Country { get; set; }
- /// <summary>客户下单日期</summary>
- [SugarColumn(ColumnName = "rdate")]
- public DateTime? RDate { get; set; }
- [SugarColumn(ColumnName = "flowstate", Length = 64)]
- public string? FlowState { get; set; }
- [SugarColumn(ColumnName = "Reason", Length = 256)]
- public string? Reason { get; set; }
- [SugarColumn(ColumnName = "IsDeleted")]
- public int IsDeleted { get; set; } = 0;
- [SugarColumn(ColumnName = "create_by_name", Length = 64)]
- public string? CreateByName { get; set; }
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- [SugarColumn(ColumnName = "update_by_name", Length = 64)]
- public string? UpdateByName { get; set; }
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- [SugarColumn(ColumnName = "tenant_id")]
- public long? TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id")]
- public long? FactoryId { get; set; }
- }
|