package com.gkhy.exam.pay.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
|
|
@TableName("coal_category")
|
@ApiModel(value = "煤矿工种类别对象", description = "煤矿工种类别对象")
|
public class CoalCategory extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 类别1理论2实操
|
*/
|
@Excel(name = "类别1理论2实操")
|
@ApiModelProperty("类别1理论2实操")
|
@NotNull(message = "类别不能为空")
|
private Long categoryType;
|
|
/**
|
* 科目名称
|
*/
|
@Excel(name = "科目名称")
|
@NotBlank(message = "科目名称不能为空")
|
@ApiModelProperty("科目名称")
|
private String subjectName;
|
|
|
/**
|
* 金额
|
*/
|
@Excel(name = "金额")
|
@ApiModelProperty("金额")
|
@NotNull(message = "金额不能为空")
|
private BigDecimal amount;
|
|
/**
|
* 业务编码
|
*/
|
@NotNull(message = "业务编码不可为空")
|
private String businessCode;
|
|
/**
|
* 描述
|
*/
|
@Excel(name = "描述")
|
private String describe;
|
|
/**
|
* 删除标志(0代表存在2代表删除)
|
*/
|
@ApiModelProperty(value = "删除标志", hidden = true)
|
private Integer delFlag;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getCategoryType() {
|
return categoryType;
|
}
|
|
public void setCategoryType(Long categoryType) {
|
this.categoryType = categoryType;
|
}
|
|
public String getSubjectName() {
|
return subjectName;
|
}
|
|
public void setSubjectName(String subjectName) {
|
this.subjectName = subjectName;
|
}
|
|
public BigDecimal getAmount() {
|
return amount;
|
}
|
|
public void setAmount(BigDecimal amount) {
|
this.amount = amount;
|
}
|
|
public String getDescribe() {
|
return describe;
|
}
|
|
public void setDescribe(String describe) {
|
this.describe = describe;
|
}
|
|
public String getBusinessCode() {
|
return businessCode;
|
}
|
|
public void setBusinessCode(String businessCode) {
|
this.businessCode = businessCode;
|
}
|
|
public Integer getDelFlag() {
|
return delFlag;
|
}
|
|
public void setDelFlag(Integer delFlag) {
|
this.delFlag = delFlag;
|
}
|
}
|