forked from kidgrow-microservices-platform

kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-api/src/main/java/com/kidgrow/oprationcenter/model/SysProduct.java
@@ -1,5 +1,6 @@
package com.kidgrow.oprationcenter.model;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kidgrow.common.model.SuperModel;
import lombok.AllArgsConstructor;
@@ -8,7 +9,9 @@
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
@@ -35,34 +38,56 @@
    /**
     * 时长(天)
     */
    @NotEmpty(message = "时长(天)不能为空")
    @NotNull(message = "时长不能为空")
    private Integer proTime;
    /**
     * 时长单位
     */
    @NotNull(message = "时长单位不能为空")
    private Integer proTimeUnit;
    /**
     * 产品类型 0试用 1正式
     */
    @NotEmpty(message = "产品类型 0试用 1正式不能为空")
    @NotNull(message = "产品类型 0试用 1正式不能为空")
    private Integer proType;
    /**
     * 建议售价
     */
    @NotEmpty(message = "建议售价不能为空")
    @NotNull(message = "建议售价不能为空")
    private BigDecimal proPrice;
    /**
     * 报告量
     */
    @NotEmpty(message = "报告量不能为空")
    @NotNull(message = "报告量不能为空")
    private Integer recordCount;
    /**
     * 读片量
     */
    @NotEmpty(message = "读片量不能为空")
    @NotNull(message = "读片量不能为空")
    private Integer ailightCount;
    /**
     * 是否删除,1删除,0未删除
     */
    @TableLogic
    private Boolean isDel;
    /**
     * 状态,1启用,0停用
     */
    private Boolean enabled;
    /**
     * 产品结束时间-供前端使用
     */
    private Date endTime;
    /**
     * 产品结束时间-供前端使用
     */
    private Date beginTime;
    /**
     * 共享,1是,0不
     */
    private Boolean isShare;
    /**
     * 创建者的部门
     */
    private String createUserOrgCode;
}