mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat(CoalWashing): rename supplier field to djgClient in DTOs and entities for clarity
This commit is contained in:
@@ -35,7 +35,7 @@ public class CoalWashingDailyAnalysisDto extends OrgCommonDto {
|
||||
|
||||
@ManyToOne
|
||||
@Comment("代加工客户信息")
|
||||
private SupplierDto supplier;
|
||||
private SupplierDto djgClient;
|
||||
|
||||
@Comment("归档状态")
|
||||
private String archiveStatus;
|
||||
|
||||
@@ -4,6 +4,7 @@ import cn.lihongjie.coal.base.dto.OrgCommonDto;
|
||||
import cn.lihongjie.coal.common.DictCode;
|
||||
import cn.lihongjie.coal.pojoProcessor.DictTranslate;
|
||||
import cn.lihongjie.coal.product.dto.ProductDto;
|
||||
import cn.lihongjie.coal.supplier.dto.SupplierDto;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
|
||||
@@ -26,6 +27,9 @@ public class CoalWashingDailyAnalysisListDto extends OrgCommonDto {
|
||||
@Comment("产品信息")
|
||||
private ProductDto product;
|
||||
|
||||
@ManyToOne
|
||||
@Comment("代加工客户信息")
|
||||
private SupplierDto djgClient;
|
||||
@Comment("归档状态")
|
||||
private String archiveStatus;
|
||||
@DictTranslate(dictKey = DictCode.ARCHIVESTATUS)
|
||||
|
||||
@@ -27,7 +27,7 @@ public class CreateCoalWashingDailyAnalysisDto extends OrgCommonDto {
|
||||
|
||||
@ManyToOne
|
||||
@Comment("代加工客户信息")
|
||||
private String supplier;
|
||||
private String djgClient;
|
||||
@ManyToOne
|
||||
@Comment("产品信息")
|
||||
private String product;
|
||||
|
||||
@@ -26,7 +26,7 @@ public class UpdateCoalWashingDailyAnalysisDto extends OrgCommonDto {
|
||||
|
||||
@ManyToOne
|
||||
@Comment("代加工客户信息")
|
||||
private String supplier;
|
||||
private String djgClient;
|
||||
|
||||
@ManyToOne
|
||||
@Comment("产品信息")
|
||||
|
||||
@@ -47,7 +47,7 @@ public class CoalWashingDailyAnalysisEntity extends OrgCommonEntity {
|
||||
|
||||
@ManyToOne
|
||||
@Comment("代加工客户信息")
|
||||
private SupplierEntity supplier;
|
||||
private SupplierEntity djgClient;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user