【任务:1287产品类型图片】

yun-zuoyi
jokelone 6 years ago
parent 49a126843b
commit a6730b0cd8

@ -0,0 +1,58 @@
package cn.estsh.i3plus.pojo.mes.pcn.model;
import io.swagger.annotations.ApiParam;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\12\4 17:10
* @Modify:
**/
public class ProduceCtgyPictureModel {
private Long id;
private String createUser;
private String createDatetime;
private String modifyUser;
private String modifyDatetime;
private String organizeCode;
private Integer isValid;
private Integer isDeleted;
@ApiParam("产品类型代码")
private String produceCategoryCode;
@ApiParam("面位")
private String sideLocation;
@ApiParam("文件id")
private Long fileId;
@ApiParam("文件名称")
private String fileName;
@ApiParam("文件URL")
private String fileUrl;
@ApiParam("组名")
private String groupName;
public ProduceCtgyPictureModel() {
}
public ProduceCtgyPictureModel(Long id, String createUser, String createDatetime, String modifyUser, String modifyDatetime, String organizeCode, Integer isValid, Integer isDeleted, String produceCategoryCode, String sideLocation, Long fileId, String fileName, String fileUrl, String groupName) {
this.id = id;
this.createUser = createUser;
this.createDatetime = createDatetime;
this.modifyUser = modifyUser;
this.modifyDatetime = modifyDatetime;
this.organizeCode = organizeCode;
this.isValid = isValid;
this.isDeleted = isDeleted;
this.produceCategoryCode = produceCategoryCode;
this.sideLocation = sideLocation;
this.fileId = fileId;
this.fileName = fileName;
this.fileUrl = fileUrl;
this.groupName = groupName;
}
}

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description: * @Description:
@ -30,29 +31,17 @@ public class MesProduceCtgyPicture extends BaseBean {
@Column(name = "PRODUCE_CTGY_CODE") @Column(name = "PRODUCE_CTGY_CODE")
@ApiParam("产品类型代码") @ApiParam("产品类型代码")
private String produceCategoryCode; private String produceCtgyCode;
@Column(name = "SIDE_LOCATION") @Column(name = "SIDE_LOCATION")
@ApiParam("面位") @ApiParam("面位")
private String sideLocation; private String sideLocation;
@Column(name = "PICTURE_URL") @Column(name = "FILE_ID")
@ApiParam("图片URL") @ApiParam("文件id")
private String pictureUrl; private Long fileId;
@Column(name = "PICTURE_NAME") @Transient
@ApiParam("图片名称") @ApiParam("文件名称")
private String pictureName; private String fileName;
@Column(name = "FILE_SIZE")
@ApiParam("FILE_SIZE")
private String fileSize;
@Column(name = "FILE_TYPE_ID")
@ApiParam("FILE_TYPE_ID")
private String fileTypeId;
@Column(name = "FILE_TYPE_NAME")
@ApiParam("FILE_TYPE_NAME")
private String fileTypeName;
} }

Loading…
Cancel
Save