jiaosong
2023-09-11 9873e926fde8a52d3928dbae9649100b887b22a0
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
package com.doumee.dao.business.model.dto;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.Date;
 
/**
 * @author T14
 */
@Data
@ApiModel("创建或者修改公司")
public class CompanyCreatOrUpdateRequest {
 
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;
 
    @ApiModelProperty(value = "名称")
    @NotBlank(message = "客户名称企业全称不允许为空")
    @Size(max = 30,message = "客户名称企业全称不允许超过30字")
    private String name;
 
    @ApiModelProperty(value = "企业简称")
    private String shortName;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "管理员账号(关联system_user表)", example = "1")
    private Integer managerId;
 
    @ApiModelProperty(value = "联系人")
    private String linkname;
 
    @ApiModelProperty(value = "联系人电话")
    private String linkephone;
 
    @ApiModelProperty(value = "统一社会信用代码,不可重复")
    private String creditCode;
 
    @ApiModelProperty(value = "主播数量限制", example = "1")
    private Integer userNum;
 
    @ApiModelProperty(value = "系统使用有效期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date oepnValidDate;
 
    @ApiModelProperty(value = "账户开通类型 0试用账户 1正式账户", example = "1")
    private Integer oepnType;
 
    @ApiModelProperty(value = "销售人员编码(关联system_user表)", example = "1")
    private Integer salesmanId;
}