public class TrainingProtocol {
    protected Integer id;//主键
    protected Integer trainId;//培训ID
    protected Integer trainType;//培训类型
    protected String protocolName;//协议名称
    protected double protocolAmount;//协议金额
    protected Date protocolDate;//签约时间

    protected Integer isFreeze;//冻结状态

    protected Date createTime;
    protected Date updateTime;
    protected Integer status;
    protected Integer isDel;

    protected Integer companyId;//公司id
    protected Integer userId;//人员id

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTrainId() {
        return trainId;
    }

    public void setTrainId(Integer trainId) {
        this.trainId = trainId;
    }

    public Integer getTrainType() {
        return trainType;
    }

    public void setTrainType(Integer trainType) {
        this.trainType = trainType;
    }

    public String getProtocolName() {
        return protocolName;
    }

    public void setProtocolName(String protocolName) {
        this.protocolName = protocolName;
    }

    public double getProtocolAmount() {
        return protocolAmount;
    }

    public void setProtocolAmount(double protocolAmount) {
        this.protocolAmount = protocolAmount;
    }

    public Date getProtocolDate() {
        return protocolDate;
    }

    public void setProtocolDate(Date protocolDate) {
        this.protocolDate = protocolDate;
    }

    public Integer getIsFreeze() {
        return isFreeze;
    }

    public void setIsFreeze(Integer isFreeze) {
        this.isFreeze = isFreeze;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}

该代码定义了一个名为 TrainingProtocol 的类,包含以下属性:

  • id:主键
  • trainId:培训 ID
  • trainType:培训类型
  • protocolName:协议名称
  • protocolAmount:协议金额
  • protocolDate:签约时间
  • isFreeze:冻结状态
  • createTime:创建时间
  • updateTime:更新时间
  • status:状态
  • isDel:是否删除
  • companyId:公司 ID
  • userId:人员 ID

此外,该类还提供了相应的 getter 和 setter 方法,用于访问和修改这些属性。

该代码可以作为开发培养协议相关功能的参考,开发者可以根据实际需求对其进行修改和扩展。

培养协议实体类 - Java 代码示例

原文地址: https://www.cveoy.top/t/topic/liBp 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录