|
|
@@ -21,14 +21,19 @@ public class AdoS0DepartmentUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "部门编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string Department { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Descr { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -54,27 +59,42 @@ public class AdoS0EmployeeUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "员工编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string Employee { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string? Name { get; set; }
|
|
|
+ [MaxLength(10)]
|
|
|
public string? Sex { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? Phone { get; set; }
|
|
|
+ [MaxLength(200)]
|
|
|
public string? Email { get; set; }
|
|
|
public DateTime? BirthDate { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? Department { get; set; }
|
|
|
public DateTime? DateEmployed { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? EmploymentStatus { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? MaritalStatus { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? JobTitle { get; set; }
|
|
|
public DateTime? DateTerminated { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? WorkCtr { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CarId { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? DefaultWorkLocation { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -98,15 +118,21 @@ public class AdoS0CostCtrUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "成本中心编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string CostCtr { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Descr { get; set; }
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Ufld1 { get; set; }
|
|
|
public DateTime? EffTime { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -132,17 +158,25 @@ public class AdoS0LocationUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "库位编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string Location { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Descr { get; set; }
|
|
|
+ [MaxLength(300)]
|
|
|
public string? Storer { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? Typed { get; set; }
|
|
|
+ [MaxLength(500)]
|
|
|
public string? PhysicalAddress { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -180,16 +214,23 @@ public class AdoS0LocationShelfUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "库位编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string Location { get; set; } = string.Empty;
|
|
|
|
|
|
[Required(ErrorMessage = "货架编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string InvShelf { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(255)]
|
|
|
public string? Descr { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? Area { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|