package zy.cloud.wms.manager.entity;
|
|
import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@TableName("sys_project_status")
|
public class ProjectStatus implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty(value= "")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
@ApiModelProperty(value= "")
|
@TableField("status_id")
|
private Integer statusId;
|
|
@ApiModelProperty(value= "")
|
@TableField("status_name")
|
private String statusName;
|
|
@ApiModelProperty(value= "")
|
private Integer type;
|
|
@ApiModelProperty(value= "")
|
@TableField("status_class")
|
private Integer statusClass;
|
|
@ApiModelProperty(value= "")
|
private String memo;
|
|
@ApiModelProperty(value= "")
|
@TableField("create_id")
|
private String createId;
|
|
@ApiModelProperty(value= "")
|
@TableField("create_time")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@ApiModelProperty(value= "")
|
@TableField("modify_id")
|
private String modifyId;
|
|
@ApiModelProperty(value= "")
|
@TableField("modify_time")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date modifyTime;
|
|
@ApiModelProperty(value= "")
|
@TableField("str_1")
|
private String str1;
|
|
@ApiModelProperty(value= "")
|
@TableField("str_2")
|
private String str2;
|
|
@ApiModelProperty(value= "")
|
@TableField("str_3")
|
private String str3;
|
|
public ProjectStatus() {}
|
|
public ProjectStatus(Integer id,Integer statusId,String statusName,Integer type,Integer statusClass,String memo,String createId,Date createTime,String modifyId,Date modifyTime,String str1,String str2,String str3) {
|
this.id = id;
|
this.statusId = statusId;
|
this.statusName = statusName;
|
this.type = type;
|
this.statusClass = statusClass;
|
this.memo = memo;
|
this.createId = createId;
|
this.createTime = createTime;
|
this.modifyId = modifyId;
|
this.modifyTime = modifyTime;
|
this.str1 = str1;
|
this.str2 = str2;
|
this.str3 = str3;
|
}
|
|
// ProjectStatus projectStatus = new ProjectStatus(
|
// null, // [非空]
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null, //
|
// null //
|
// );
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getStatusId() {
|
return statusId;
|
}
|
|
public void setStatusId(Integer statusId) {
|
this.statusId = statusId;
|
}
|
|
public String getStatusName() {
|
return statusName;
|
}
|
|
public void setStatusName(String statusName) {
|
this.statusName = statusName;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getStatusClass() {
|
return statusClass;
|
}
|
|
public void setStatusClass(Integer statusClass) {
|
this.statusClass = statusClass;
|
}
|
|
public String getMemo() {
|
return memo;
|
}
|
|
public void setMemo(String memo) {
|
this.memo = memo;
|
}
|
|
public String getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public String getCreateTime$(){
|
if (Cools.isEmpty(this.createTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getModifyId() {
|
return modifyId;
|
}
|
|
public void setModifyId(String modifyId) {
|
this.modifyId = modifyId;
|
}
|
|
public Date getModifyTime() {
|
return modifyTime;
|
}
|
|
public String getModifyTime$(){
|
if (Cools.isEmpty(this.modifyTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modifyTime);
|
}
|
|
public void setModifyTime(Date modifyTime) {
|
this.modifyTime = modifyTime;
|
}
|
|
public String getStr1() {
|
return str1;
|
}
|
|
public void setStr1(String str1) {
|
this.str1 = str1;
|
}
|
|
public String getStr2() {
|
return str2;
|
}
|
|
public void setStr2(String str2) {
|
this.str2 = str2;
|
}
|
|
public String getStr3() {
|
return str3;
|
}
|
|
public void setStr3(String str3) {
|
this.str3 = str3;
|
}
|
|
|
}
|