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 io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableName; import lombok.Data; import java.io.Serializable; @TableName("sys_project_type") @Data public class ProjectType implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value= "") @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value= "") @TableField("type_id") private Integer typeId; @ApiModelProperty(value= "") @TableField("type_name") private String typeName; @ApiModelProperty(value= "") @TableField("type_status") private Integer typeStatus; @ApiModelProperty(value= "") @TableField("type_class") private Integer typeClass; @ApiModelProperty(value= "") @TableField("str_1") private String str1; @ApiModelProperty(value= "") @TableField("str_2") private String str2; @ApiModelProperty(value= "") @TableField("str_3") private String str3; @TableField("is_asrs") private Integer isAsrs; public ProjectType() {} public ProjectType(Integer id,Integer typeId,String typeName,Integer typeStatus,Integer typeClass,String str1,String str2,String str3) { this.id = id; this.typeId = typeId; this.typeName = typeName; this.typeStatus = typeStatus; this.typeClass = typeClass; this.str1 = str1; this.str2 = str2; this.str3 = str3; } // ProjectType projectType = new ProjectType( // null, // [非空] // null, // // null, // // null, // // null, // // null, // // null, // // null // // ); public Integer getId() { return id; } public String getIsAsrs$(){ if (this.isAsrs == 0) { return "否"; }else { return "是"; } } public void setId(Integer id) { this.id = id; } public Integer getTypeId() { return typeId; } public void setTypeId(Integer typeId) { this.typeId = typeId; } public String getTypeName() { return typeName; } public void setTypeName(String typeName) { this.typeName = typeName; } public Integer getTypeStatus() { return typeStatus; } public void setTypeStatus(Integer typeStatus) { this.typeStatus = typeStatus; } public Integer getTypeClass() { return typeClass; } public void setTypeClass(Integer typeClass) { this.typeClass = typeClass; } 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; } }