| | |
| | | namespace WIDESEA_DTO.Basic |
| | | { |
| | | [ModelValidate] |
| | | public class Supplier |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string From { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string DateTime { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | [PropertyValidate("ç©æå表", NotNullAndEmpty = true)] |
| | | public SupplierDTO Content { get; set; } |
| | | } |
| | | [ModelValidate] |
| | | public class SupplierDTO |
| | | { |
| | | /// <summary> |
| | | /// ä¾åºåç¼ç |
| | | /// </summary> |
| | | [PropertyValidate("ä¾åºåç¼ç ", NotNullAndEmpty = true)] |
| | | public string Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºåå
¨ç§° |
| | | /// </summary> |
| | | [PropertyValidate("ä¾åºåå
¨ç§°", NotNullAndEmpty = true)] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºåç®ç§° |
| | | /// </summary> |
| | | [PropertyValidate("ä¾åºåç®ç§°", NotNullAndEmpty = true)] |
| | | public string ShortName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è系人 |
| | | /// </summary> |
| | | [PropertyValidate("è系人", NotNullAndEmpty = true)] |
| | | public string Contacts { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èç³»çµè¯ |
| | | /// </summary> |
| | | [PropertyValidate("èç³»çµè¯", NotNullAndEmpty = true)] |
| | | public string ContactNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èç³»å°å |
| | | /// </summary> |
| | | [PropertyValidate("èç³»å°å", NotNullAndEmpty = true)] |
| | | public string ContactAddress { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çµåé®ç®± |
| | | /// </summary> |
| | | [PropertyValidate("çµåé®ç®±", NotNullAndEmpty = true)] |
| | | public string Email { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æè¿° |
| | | /// </summary> |
| | | [PropertyValidate("æè¿°", NotNullAndEmpty = true)] |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¶æ |
| | | /// </summary> |
| | | [PropertyValidate("ç¶æ", NotNullAndEmpty = true)] |
| | | public int State { get; set; } |
| | | |
| | | public string InvOrgId { get; set; } |
| | | /// <summary> |
| | | /// åºåç»ç» |
| | | /// </summary> |
| | | [PropertyValidate("åºåç»ç»", NotNullAndEmpty = true)] |
| | | public string InvOrgId { get; set; } = "æ·®å®ç¹åäºå"; |
| | | |
| | | public string OperateType { get; set; } |
| | | /// <summary> |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [PropertyValidate("æä½ç±»å", NotNullAndEmpty = true,Check = new object[] { 0, 1, 2 })] |
| | | public string OperateType { get; set; } |
| | | } |
| | | } |