9 小时以前 4d15fa8051884869c5b612d0641508874cc71811
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
package cn.iocoder.yudao.module.srm.controller.admin.supplier.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - 供应商创建/更新 Request VO")
@Data
public class SrmSupplierSaveReqVO {
 
    @Schema(description = "供应商ID", example = "1")
    private Long id;
 
    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "供应商编码不能为空")
    private String code;
 
    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "供应商名称不能为空")
    private String name;
 
    @Schema(description = "供应商简称")
    private String shortName;
 
    @Schema(description = "供应商类型")
    private String type;
 
    @Schema(description = "企业性质")
    private String companyNature;
 
    @Schema(description = "注册资金(万元)")
    private BigDecimal registeredCapital;
 
    @Schema(description = "营业执照编号")
    private String businessLicenseNo;
 
    @Schema(description = "税号")
    private String taxNo;
 
    @Schema(description = "法人代表")
    private String legalPerson;
 
    @Schema(description = "公司地址")
    private String address;
 
    @Schema(description = "公司网址")
    private String website;
 
    @Schema(description = "联系人")
    private String contactName;
 
    @Schema(description = "联系电话")
    private String contactMobile;
 
    @Schema(description = "邮箱")
    private String contactEmail;
 
    @Schema(description = "开户银行")
    private String bankName;
 
    @Schema(description = "银行账号")
    private String bankAccount;
 
    @Schema(description = "状态(0启用 1禁用)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "状态不能为空")
    private Integer status;
 
    @Schema(description = "备注")
    private String remark;
 
}