| | |
| | | /// <summary> |
| | | /// 涓婃父鍗曟嵁缂栧彿 |
| | | /// </summary> |
| | | public string UpperOrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鍗曟嵁缂栧彿 |
| | | /// </summary> |
| | | [PropertyValidate("涓婃父鍗曟嵁缂栧彿", NotNullAndEmpty = true)] |
| | | public string OrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鍗曟嵁绫诲瀷 |
| | | /// </summary> |
| | | [PropertyValidate("鍗曟嵁绫诲瀷", NotNullAndEmpty = true)] |
| | | public int OrderType { get; set; } |
| | | public int Type { get; set; } |
| | | |
| | | public string OperateType { get; set; } |
| | | /// <summary> |
| | | /// 鎿嶄綔绫诲瀷 |
| | | /// </summary> |
| | | [PropertyValidate("鎿嶄綔绫诲瀷", Check = new object[] { 1, 2, 3, 4 })] |
| | | public int OperateType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 閲囪喘鏁伴噺 |
| | | /// </summary> |
| | | [PropertyValidate("閲囪喘鏁伴噺", MinValue = 0, IsContainMinValue = false)] |
| | | public float Amount { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 涓嬪崟鏃ユ湡 |
| | | /// </summary> |
| | | [PropertyValidate("涓嬪崟鏃ユ湡", NotNullAndEmpty = true)] |
| | | public string OrderDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 澶囨敞 |
| | | /// </summary> |
| | | public string Remark { get; set; } |
| | | public string Note { get; set; } |
| | | |
| | | [PropertyValidate("鍗曟嵁鏄庣粏淇℃伅", NotNullAndEmpty = true)] |
| | | public List<InboundOrderDetailAddDTO> Details { get; set; } |
| | | public List<InboundOrderDetailAddDTO> MList { get; set; } |
| | | } |
| | | |
| | | [ModelValidate] |
| | | public class InboundOrderDetailAddDTO |
| | | { |
| | | /// <summary> |
| | | /// 鐗╂枡缂栧彿 |
| | | /// </summary> |
| | | [PropertyValidate("鐗╂枡缂栧彿", NotNullAndEmpty = true)] |
| | | public string MaterielCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鏁伴噺 |
| | | /// </summary> |
| | | [PropertyValidate("鏁伴噺", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)] |
| | | public float Qty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 浠撳簱缂栧彿 |
| | | /// </summary> |
| | | [PropertyValidate("浠撳簱缂栧彿", NotNullAndEmpty = true)] |
| | | public int WaId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鍗曚綅 |
| | | /// </summary> |
| | | [PropertyValidate("鍗曚綅", NotNullAndEmpty = true)] |
| | | public string Unit { get; set; } |
| | | } |
| | | } |