package com.gkhy.exam.pay.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
|
|
/**
|
* 非煤工种类别对象 non_coal_category
|
*
|
* @author hh
|
* @date 2025-01-16
|
*/
|
@TableName("non_coal_category")
|
@ApiModel(value = "非煤工种类别对象", description = "非煤工种类别对象")
|
public class NonCoalCategory extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 地州编码
|
*/
|
@Excel(name = "地州编码")
|
@NotBlank(message = "地州不能为空")
|
@ApiModelProperty("地州编码")
|
private String districtCode;
|
|
/**
|
* 类别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 Long operateTypeId;
|
|
/**
|
* 金额
|
*/
|
@Excel(name = "金额")
|
@ApiModelProperty("金额")
|
@NotNull(message = "金额不能为空")
|
private BigDecimal amount;
|
|
/**
|
* 业务编码
|
*/
|
@Excel(name = "业务编码")
|
@NotBlank(message = "业务编码不能为空")
|
@ApiModelProperty("业务编码")
|
private String businessCode;
|
|
/**
|
* 单位编码
|
*/
|
@Excel(name = "单位编码")
|
@NotBlank(message = "单位编码不能为空")
|
@ApiModelProperty("单位编码")
|
private String companyCode;
|
|
/**
|
* 开票人
|
*/
|
@Excel(name = "开票人")
|
@NotBlank(message = "开票人不能为空")
|
@ApiModelProperty("开票人")
|
private String drawer;
|
|
/**
|
* 复核人
|
*/
|
@Excel(name = "复核人")
|
@NotBlank(message = "复核人不能为空")
|
@ApiModelProperty("复核人")
|
private String reviewer;
|
|
/**
|
* 开票单位社会信用代码
|
*/
|
@Excel(name = "开票单位社会信用代码")
|
@NotBlank(message = "开票单位社会信用代码不能为空")
|
@ApiModelProperty("开票单位社会信用代码")
|
private String invoicingCompanyCode;
|
|
/**
|
* 描述
|
*/
|
@Excel(name = "描述")
|
private String describe;
|
|
/**
|
* 删除标志(0代表存在2代表删除)
|
*/
|
@ApiModelProperty(value = "删除标志", hidden = true)
|
private Integer delFlag;
|
|
|
@TableField(exist = false)
|
private String operateTypeName;
|
|
@TableField(exist = false)
|
private String districtName;
|
|
public String getDistrictName() {
|
return districtName;
|
}
|
|
public void setDistrictName(String districtName) {
|
this.districtName = districtName;
|
}
|
|
public String getOperateTypeName() {
|
return operateTypeName;
|
}
|
|
public void setOperateTypeName(String operateTypeName) {
|
this.operateTypeName = operateTypeName;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setDistrictCode(String districtCode) {
|
this.districtCode = districtCode;
|
}
|
|
public String getDistrictCode() {
|
return districtCode;
|
}
|
|
public void setCategoryType(Long categoryType) {
|
this.categoryType = categoryType;
|
}
|
|
public Long getCategoryType() {
|
return categoryType;
|
}
|
|
public void setSubjectName(String subjectName) {
|
this.subjectName = subjectName;
|
}
|
|
public String getSubjectName() {
|
return subjectName;
|
}
|
|
public void setOperateTypeId(Long operateTypeId) {
|
this.operateTypeId = operateTypeId;
|
}
|
|
public Long getOperateTypeId() {
|
return operateTypeId;
|
}
|
|
public void setAmount(BigDecimal amount) {
|
this.amount = amount;
|
}
|
|
public BigDecimal getAmount() {
|
return amount;
|
}
|
|
public void setBusinessCode(String businessCode) {
|
this.businessCode = businessCode;
|
}
|
|
public String getBusinessCode() {
|
return businessCode;
|
}
|
|
public void setCompanyCode(String companyCode) {
|
this.companyCode = companyCode;
|
}
|
|
public String getCompanyCode() {
|
return companyCode;
|
}
|
|
public void setDrawer(String drawer) {
|
this.drawer = drawer;
|
}
|
|
public String getDrawer() {
|
return drawer;
|
}
|
|
public void setReviewer(String reviewer) {
|
this.reviewer = reviewer;
|
}
|
|
public String getReviewer() {
|
return reviewer;
|
}
|
|
public void setInvoicingCompanyCode(String invoicingCompanyCode) {
|
this.invoicingCompanyCode = invoicingCompanyCode;
|
}
|
|
public String getInvoicingCompanyCode() {
|
return invoicingCompanyCode;
|
}
|
|
public void setDescribe(String describe) {
|
this.describe = describe;
|
}
|
|
public String getDescribe() {
|
return describe;
|
}
|
|
public void setDelFlag(Integer delFlag) {
|
this.delFlag = delFlag;
|
}
|
|
public Integer getDelFlag() {
|
return delFlag;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("districtCode", getDistrictCode())
|
.append("categoryType", getCategoryType())
|
.append("subjectName", getSubjectName())
|
.append("operateTypeId", getOperateTypeId())
|
.append("amount", getAmount())
|
.append("businessCode", getBusinessCode())
|
.append("companyCode", getCompanyCode())
|
.append("drawer", getDrawer())
|
.append("reviewer", getReviewer())
|
.append("invoicingCompanyCode", getInvoicingCompanyCode())
|
.append("describe", getDescribe())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("delFlag", getDelFlag())
|
.toString();
|
}
|
}
|