| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S0.Warehouse;
- // ========== 零件包装规格 ==========
- public class AdoS0ItemPackQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? PackingType { get; set; }
- public bool? IsActive { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0ItemPackUpsertDto
- {
- /// <summary>
- /// 公司。**服务端忽略**:新增由 AdoS0OrgScope.ResolveAsync(tenantId) 在当前租户内解析后强制 stamp,
- /// 编辑 pin 既有原值。保留字段仅为 payload 向后兼容,不做校验——原 [Range(1, long.MaxValue)]
- /// 是失效前置门:值不参与落库,却会在模型绑定阶段把"租户未配置机构"误报成"公司不能为空",故移除。
- /// </summary>
- public long CompanyRefId { get; set; }
- /// <summary>工厂。**服务端忽略**,同 <see cref="CompanyRefId"/>。</summary>
- public long FactoryRefId { get; set; }
- [MaxLength(50)]
- public string? DomainCode { get; set; }
- [Required(ErrorMessage = "物料编码不能为空")]
- [MaxLength(100)]
- public string ItemNum { get; set; } = string.Empty;
- public decimal? PackingQty { get; set; }
- public decimal? SmallPackingQty { get; set; }
- [MaxLength(50)]
- public string? PackingType { get; set; }
- public decimal? NetWeight { get; set; }
- [MaxLength(20)]
- public string? WeightUM { get; set; }
- public decimal? Length { get; set; }
- public decimal? Width { get; set; }
- public decimal? High { get; set; }
- [MaxLength(50)]
- public string? IssSpecific { get; set; }
- [MaxLength(100)]
- public string? CustItem { get; set; }
- [MaxLength(500)]
- public string? Remark { get; set; }
- public bool IsActive { get; set; } = true;
- [MaxLength(100)]
- public string? CreateUser { get; set; }
- [MaxLength(100)]
- public string? UpdateUser { get; set; }
- }
- // ========== 物料职责 ==========
- public class AdoS0EmpWorkDutyQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? Employee { get; set; }
- public string? Location { get; set; }
- public string? ItemNum { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0EmpWorkDutyUpsertDto
- {
- /// <summary>
- /// 公司。**服务端忽略**:新增由 AdoS0OrgScope.ResolveAsync(tenantId) 在当前租户内解析后强制 stamp,
- /// 编辑 pin 既有原值。保留字段仅为 payload 向后兼容,不做校验——原 [Range(1, long.MaxValue)]
- /// 是失效前置门:值不参与落库,却会在模型绑定阶段把"租户未配置机构"误报成"公司不能为空",故移除。
- /// </summary>
- public long CompanyRefId { get; set; }
- /// <summary>工厂。**服务端忽略**,同 <see cref="CompanyRefId"/>。</summary>
- public long FactoryRefId { get; set; }
- [MaxLength(50)]
- public string? DomainCode { get; set; }
- [Required(ErrorMessage = "员工编码不能为空")]
- [MaxLength(100)]
- public string Employee { get; set; } = string.Empty;
- [MaxLength(100)]
- public string? ItemNum { get; set; }
- [MaxLength(100)]
- public string? ItemNum1 { get; set; }
- [MaxLength(100)]
- public string? ItemNum2 { get; set; }
- [MaxLength(100)]
- public string? Location { get; set; }
- [MaxLength(100)]
- public string? ProdLine { get; set; }
- [MaxLength(500)]
- public string? Duty { get; set; }
- [MaxLength(50)]
- public string? EmpType { get; set; }
- [MaxLength(255)]
- public string? Ufld2 { get; set; }
- [MaxLength(100)]
- public string? CreateUser { get; set; }
- [MaxLength(100)]
- public string? UpdateUser { get; set; }
- }
- // ========== 物料状态任务指派 ==========
- public class AdoS0TaskAssignmentQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? DomainCode { get; set; }
- public string? Keyword { get; set; }
- public string? Rwlx { get; set; }
- public string? Zt { get; set; }
- public string? Sqr { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0TaskAssignmentUpsertDto
- {
- /// <summary>
- /// 公司。**服务端忽略**:新增由 AdoS0OrgScope.ResolveAsync(tenantId) 在当前租户内解析后强制 stamp,
- /// 编辑 pin 既有原值。保留字段仅为 payload 向后兼容,不做校验——原 [Range(1, long.MaxValue)]
- /// 是失效前置门:值不参与落库,却会在模型绑定阶段把"租户未配置机构"误报成"公司不能为空",故移除。
- /// </summary>
- public long CompanyRefId { get; set; }
- /// <summary>工厂。**服务端忽略**,同 <see cref="CompanyRefId"/>。</summary>
- public long FactoryRefId { get; set; }
- [MaxLength(50)]
- public string? DomainCode { get; set; }
- public DateTime? Tcrq { get; set; }
- [MaxLength(100)]
- public string? Sqr { get; set; }
- [MaxLength(50)]
- public string? Rwlx { get; set; }
- [MaxLength(100)]
- public string? Wlbm { get; set; }
- public decimal? Sl { get; set; }
- [MaxLength(100)]
- public string? Rqpc { get; set; }
- [MaxLength(100)]
- public string? Yskw { get; set; }
- [MaxLength(100)]
- public string? Mdkw { get; set; }
- public DateTime? Xqsj { get; set; }
- [MaxLength(100)]
- public string? Clr { get; set; }
- [MaxLength(500)]
- public string? Bz { get; set; }
- [MaxLength(50)]
- public string? Zt { get; set; }
- [MaxLength(100)]
- public string? CreateUser { get; set; }
- [MaxLength(100)]
- public string? UpdateUser { get; set; }
- }
|