李林
2024-02-28 780578502875aa0c339cb73f11b1e635df458c77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
 
import java.time.LocalDateTime;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanchu.mom.annotation.ValueTableShow;
import com.yuanchu.mom.common.OrderBy;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
 
/**
 * 进粉上报
 * @TableName fans_submit
 */
@TableName(value ="fans_submit")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FansSubmit extends OrderBy implements Serializable {
 
    /**
    * 主键
    */
    @NotNull(message="[主键]不能为空")
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 客户
    */
    @ValueTableShow(1)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("客户")
    @Length(max= 255,message="编码长度不能超过255")
    private String custom;
    /**
    * 项目
    */
    @ValueTableShow(2)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("项目")
    @Length(max= 255,message="编码长度不能超过255")
    private String product;
    /**
    * 微信号
    */
    @ValueTableShow(3)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("微信号")
    @Length(max= 255,message="编码长度不能超过255")
    private String vx;
    /**
    * 进粉
    */
    @ValueTableShow(4)
    @ApiModelProperty("进粉")
    private Integer fansAdd;
    /**
    * 创建时间
    */
    @ApiModelProperty("登记时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ValueTableShow(6)
    private LocalDateTime createTime;
    /**
     *
     */
    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     *
     */
    @ApiModelProperty("登记人id")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @ValueTableShow(5)
    @ApiModelProperty("登记人")
    private String createUserName;
    /**
     *
     */
    @ApiModelProperty("更新用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
}