| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- package com.hssx.cloudmodel.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.time.LocalDateTime;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import java.io.Serializable;
- /**
- * <p>
- *
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-08-13
- */
- @TableName("tb_mould_maintain")
- public class MouldMaintain extends Model<MouldMaintain> {
- private static final long serialVersionUID=1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 模板id
- */
- @TableField("mould_id")
- private Integer mouldId;
- /**
- * 保养类型 0-动作 1-易损件
- */
- @TableField("maintain_type")
- private Integer maintainType;
- /**
- * 方式 0-喷漆 1-检查 2-易损件中选择
- */
- @TableField("ways")
- private Integer ways;
- /**
- * 文件名称
- */
- @TableField("file_name")
- private String fileName;
- /**
- * 文件上传路径
- */
- @TableField("file_url")
- private String fileUrl;
- /**
- * 保养人id
- */
- @TableField("maintain_user_id")
- private Integer maintainUserId;
- /**
- * 保养人姓名
- */
- @TableField("maintain_user_name")
- private String maintainUserName;
- /**
- * 保养日期
- */
- @TableField("indate")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime indate;
- /**
- * 文件大小
- */
- @TableField("file_size")
- private String fileSize;
- /**
- * 项目id
- */
- @TableField("project_id")
- private Integer projectId;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getMouldId() {
- return mouldId;
- }
- public void setMouldId(Integer mouldId) {
- this.mouldId = mouldId;
- }
- public Integer getMaintainType() {
- return maintainType;
- }
- public void setMaintainType(Integer maintainType) {
- this.maintainType = maintainType;
- }
- public Integer getWays() {
- return ways;
- }
- public void setWays(Integer ways) {
- this.ways = ways;
- }
- public String getFileName() {
- return fileName;
- }
- public void setFileName(String fileName) {
- this.fileName = fileName;
- }
- public String getFileUrl() {
- return fileUrl;
- }
- public void setFileUrl(String fileUrl) {
- this.fileUrl = fileUrl;
- }
- public Integer getMaintainUserId() {
- return maintainUserId;
- }
- public void setMaintainUserId(Integer maintainUserId) {
- this.maintainUserId = maintainUserId;
- }
- public String getMaintainUserName() {
- return maintainUserName;
- }
- public void setMaintainUserName(String maintainUserName) {
- this.maintainUserName = maintainUserName;
- }
- public LocalDateTime getIndate() {
- return indate;
- }
- public void setIndate(LocalDateTime indate) {
- this.indate = indate;
- }
- public String getFileSize() {
- return fileSize;
- }
- public void setFileSize(String fileSize) {
- this.fileSize = fileSize;
- }
- public Integer getProjectId() {
- return projectId;
- }
- public void setProjectId(Integer projectId) {
- this.projectId = projectId;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "MouldMaintain{" +
- "id=" + id +
- ", mouldId=" + mouldId +
- ", maintainType=" + maintainType +
- ", ways=" + ways +
- ", fileName=" + fileName +
- ", fileUrl=" + fileUrl +
- ", maintainUserId=" + maintainUserId +
- ", maintainUserName=" + maintainUserName +
- ", indate=" + indate +
- ", fileSize=" + fileSize +
- ", projectId=" + projectId +
- "}";
- }
- }
|