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; /** *

* *

* * @author 吴涛涛 * @since 2019-08-13 */ @TableName("tb_mould_maintain") public class MouldMaintain extends Model { 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 + "}"; } }