package com.gkhy.exam.pay.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
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.NotNull;
|
import java.math.BigDecimal;
|
|
|
/**
|
* 非煤缴费种类关联对象 non_coal_pay_category
|
*
|
* @author hh
|
* @date 2025-01-16
|
*/
|
@TableName("non_coal_pay_category")
|
@ApiModel(value = "非煤缴费种类关联对象", description = "非煤缴费种类关联对象")
|
public class NonCoalPayCategory extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* $column.columnComment
|
*/
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@NotNull(message = "参数不能为空")
|
@ApiModelProperty("非煤管理id")
|
private Long nonCoalPayId;
|
|
/**
|
* 类别id
|
*/
|
@Excel(name = "类别id")
|
@NotNull(message = "类别不能为空")
|
@ApiModelProperty("类别id")
|
private Long categoryId;
|
|
/**
|
* 类别1理论2实操
|
*/
|
@Excel(name = "类别1理论2实操")
|
@NotNull(message = "类别类型不能为空")
|
@ApiModelProperty("类别类型id")
|
private Long categoryType;
|
|
@Excel(name = "金额")
|
@ApiModelProperty("金额")
|
@NotNull(message = "金额不能为空")
|
private BigDecimal categoryAmount;
|
/**
|
* 删除标志(0代表存在2代表删除)
|
*/
|
private Integer delFlag;
|
|
public BigDecimal getCategoryAmount() {
|
return categoryAmount;
|
}
|
|
public void setCategoryAmount(BigDecimal categoryAmount) {
|
this.categoryAmount = categoryAmount;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setNonCoalPayId(Long nonCoalPayId) {
|
this.nonCoalPayId = nonCoalPayId;
|
}
|
|
public Long getNonCoalPayId() {
|
return nonCoalPayId;
|
}
|
|
public void setCategoryId(Long categoryId) {
|
this.categoryId = categoryId;
|
}
|
|
public Long getCategoryId() {
|
return categoryId;
|
}
|
|
public void setCategoryType(Long categoryType) {
|
this.categoryType = categoryType;
|
}
|
|
public Long getCategoryType() {
|
return categoryType;
|
}
|
|
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("nonCoalPayId", getNonCoalPayId())
|
.append("categoryId", getCategoryId())
|
.append("categoryType", getCategoryType())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("delFlag", getDelFlag())
|
.toString();
|
}
|
}
|