mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
添加字段
This commit is contained in:
@@ -14,6 +14,8 @@ public class CreateInventoryCheckDto extends OrgCommonDto {
|
||||
|
||||
private LocalDateTime checkTime;
|
||||
|
||||
@Comment("盘点人员")
|
||||
private String checkPerson;
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ import java.time.LocalDateTime;
|
||||
public class InventoryCheckDto extends OrgCommonDto {
|
||||
|
||||
private LocalDateTime checkTime;
|
||||
@Comment("盘点人员")
|
||||
private String checkPerson;
|
||||
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
@@ -12,6 +12,8 @@ import java.time.LocalDateTime;
|
||||
public class UpdateInventoryCheckDto extends OrgCommonDto {
|
||||
private LocalDateTime checkTime;
|
||||
|
||||
@Comment("盘点人员")
|
||||
private String checkPerson;
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@ public class InventoryCheckEntity extends OrgCommonEntity {
|
||||
|
||||
private LocalDateTime checkTime;
|
||||
|
||||
|
||||
|
||||
@Comment("盘点人员")
|
||||
private String checkPerson;
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ import jakarta.persistence.ManyToOne;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
@Data
|
||||
public class CreateInventoryCheckDetailDto extends OrgCommonDto {
|
||||
|
||||
@@ -14,6 +16,11 @@ public class CreateInventoryCheckDetailDto extends OrgCommonDto {
|
||||
private String inventoryCheck;
|
||||
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
|
||||
|
||||
@ManyToOne
|
||||
private String coalInfo;
|
||||
|
||||
|
||||
@@ -2,13 +2,17 @@ package cn.lihongjie.coal.inventoryCheckDetail.dto;
|
||||
|
||||
import cn.lihongjie.coal.base.dto.OrgCommonDto;
|
||||
import cn.lihongjie.coal.coalInfo.dto.CoalInfoDto;
|
||||
import cn.lihongjie.coal.common.DictCode;
|
||||
import cn.lihongjie.coal.inventoryCheck.dto.InventoryCheckDto;
|
||||
import cn.lihongjie.coal.pojoProcessor.DictTranslate;
|
||||
import cn.lihongjie.coal.product.dto.ProductDto;
|
||||
|
||||
import jakarta.persistence.ManyToOne;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
@Data
|
||||
public class InventoryCheckDetailDto extends OrgCommonDto {
|
||||
|
||||
@@ -16,6 +20,13 @@ public class InventoryCheckDetailDto extends OrgCommonDto {
|
||||
@ManyToOne
|
||||
private InventoryCheckDto inventoryCheck;
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
|
||||
@Comment("盘点类型-名称")
|
||||
@DictTranslate(dictKey = DictCode.INVENTORYCHECK_TYPE)
|
||||
private String checkTypeName;
|
||||
|
||||
@ManyToOne
|
||||
private CoalInfoDto coalInfo;
|
||||
|
||||
@@ -6,6 +6,8 @@ import jakarta.persistence.ManyToOne;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
@Data
|
||||
public class UpdateInventoryCheckDetailDto extends OrgCommonDto {
|
||||
|
||||
@@ -13,6 +15,8 @@ public class UpdateInventoryCheckDetailDto extends OrgCommonDto {
|
||||
@ManyToOne
|
||||
private String inventoryCheck;
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
@ManyToOne
|
||||
private String coalInfo;
|
||||
|
||||
@@ -10,6 +10,8 @@ import jakarta.persistence.ManyToOne;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
public class InventoryCheckDetailEntity extends OrgCommonEntity {
|
||||
@@ -18,6 +20,8 @@ public class InventoryCheckDetailEntity extends OrgCommonEntity {
|
||||
@ManyToOne
|
||||
private InventoryCheckEntity inventoryCheck;
|
||||
|
||||
@Comment("盘点类型")
|
||||
private String checkType;
|
||||
|
||||
@ManyToOne
|
||||
private CoalInfoEntity coalInfo;
|
||||
|
||||
Reference in New Issue
Block a user