New file |
| | |
| | | using HH.WCS.Mobox3.FJJT.models; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | |
| | | namespace HH.WCS.Mobox3.FJJT |
| | | { |
| | | [SugarTable("TN_Sorting_Order")] |
| | | public class SortingOrder : BaseModel |
| | | { |
| | | |
| | | |
| | | public string S_NO { get; set; } = ""; |
| | | public string S_SHIPPING_NO { get; set; } = ""; |
| | | /// <summary> |
| | | /// 生产出库/销售出库/退库/ |
| | | /// </summary> |
| | | public string S_TYPE { get; set; } |
| | | public string S_FACTORY { get; set; }=util.Settings.FacCode; |
| | | public string S_WH_CODE { get; set; }=util.Settings.WHCode; |
| | | public string S_AREA_CODE { get; set; } |
| | | public string S_SORTING_AREA { get; set; } |
| | | public string S_SORTING_LOC { get; set; } |
| | | public string D_OP_DATE { get; set; } |
| | | public string S_NOTE { get; set; } |
| | | /// <summary> |
| | | /// 从发货单继承的属性 |
| | | /// </summary> |
| | | public string S_BS_TYPE { get; set; } |
| | | /// <summary> |
| | | /// 从发货单继承的属性 |
| | | /// </summary> |
| | | public string S_BS_NO { get; set; } |
| | | public string S_STATE_PRE { get; set; } = ""; |
| | | public int N_REVIEW_RESULT { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 1 开始配货(自动开始配货或者人工按钮开始配合) 2- 配货完成 3 – 开始作业 4 – 作业已创建 10 –分拣完成 20 – 错误 21 – 暂停 |
| | | /// </summary> |
| | | public int N_B_STATE { get; set; } |
| | | public string S_END_USER { get; set; } |
| | | public string S_ERR { get; set; } |
| | | public DateTime? T_LAST_PROC { get; set; } |
| | | public int N_PROC_COUNT { get; set; } |
| | | public int N_LASTE_B_STATE { get; set; } |
| | | /// <summary> |
| | | /// Y = 配货完成后马上安排作业开始搬运 |
| | | /// </summary> |
| | | //public string C_AUTO_OP { get; set; } = "N"; |
| | | [SugarColumn(IsIgnore = true)] |
| | | [Navigate(NavigateType.OneToMany, nameof(SortingCompose.S_SORTING_NO), nameof(S_NO))] |
| | | public List<SortingCompose> Composes { get; set; } |
| | | |
| | | [Navigate(NavigateType.OneToMany, nameof(SortingDetail.S_SORTING_NO), nameof(S_NO))] |
| | | public List<SortingDetail> Details { get; set; } |
| | | } |
| | | } |