李林
2024-01-08 7cf8ae446e880537a38bd7ac403bd53741a5294f
data-server/src/main/java/com/yuanchu/mom/pojo/DataReporting.java
@@ -9,8 +9,11 @@
import java.time.LocalDateTime;
import java.util.Date;
import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanchu.mom.annotation.ValueTableShow;
import com.yuanchu.mom.common.OrderBy;
@@ -18,6 +21,7 @@
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
/**
@@ -27,6 +31,7 @@
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DataReporting extends OrderBy implements Serializable {
    /**
@@ -34,6 +39,7 @@
    */
    @NotNull(message="[]不能为空")
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 登记人
@@ -59,6 +65,12 @@
    @Length(max= 255,message="编码长度不能超过255")
    @ValueTableShow(3)
    private String name;
    @ApiModelProperty("姓名")
    @Length(max= 255,message="编码长度不能超过255")
    @ValueTableShow(4)
    private String name2;
    /**
    * 渠道
    */
@@ -67,6 +79,12 @@
    @Length(max= 255,message="编码长度不能超过255")
    @ValueTableShow(4)
    private String channel;
    @ApiModelProperty("代理商")
    @Length(max= 255,message="编码长度不能超过255")
    @ValueTableShow(4)
    private String agent;
    /**
     * 项目
     */
@@ -80,7 +98,7 @@
    */
    @ApiModelProperty("展现量")
    @ValueTableShow(6)
    private Integer show;
    private Integer showNum;
    /**
    * 点击量
    */
@@ -144,7 +162,7 @@
    /**
    * 代理返点
    */
    @ApiModelProperty("代理返点")
    @ApiModelProperty("员工代理返点")
    @ValueTableShow(17)
    private BigDecimal agentRebate;
    /**
@@ -156,7 +174,7 @@
    /**
    * 备用字段
    */
    @ApiModelProperty("备用字段")
    @ApiModelProperty("做进来")
    @ValueTableShow(23)
    private BigDecimal remark;
    /**
@@ -181,13 +199,15 @@
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("创建用户")
    @Length(max= 255,message="编码长度不能超过255")
    private String createUser;
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    /**
    * 
    */
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("更新用户")
    @Length(max= 255,message="编码长度不能超过255")
    private String updateUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
}