|
@@ -34,18 +34,18 @@ public class ContractTermsDto extends CommonI18nEntity {
|
|
|
|
|
|
private static final long serialVersionUID = 1725364450348L;
|
|
|
@ApiModelProperty(name = "contractId", value = "合同ID")
|
|
|
- @NotNull(message = "合同ID", groups = {
|
|
|
+ @NotNull(message = "合同ID不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
private Long contractId;
|
|
|
@ApiModelProperty(name = "contractType", value = "合同类型")
|
|
|
- @NotBlank(message = "合同类型", groups = {
|
|
|
+ @NotBlank(message = "合同类型不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
private String contractType;
|
|
|
@ApiModelProperty(name = "contractNo", value = "合同编号")
|
|
|
private String contractNo;
|
|
|
- @NotBlank(message = "付款方式", groups = {
|
|
|
+ @NotBlank(message = "付款方式不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "paymentWay", value = "付款方式")
|
|
@@ -54,31 +54,36 @@ public class ContractTermsDto extends CommonI18nEntity {
|
|
|
private String paymentCurrency;
|
|
|
@ApiModelProperty(name = "invoiceType", value = "发票类型1增值税专用发票2增值税普通发票3增值税电子专用发票4增值税电子普通发票5数电票(增值税专用发票)6(数电票)增值税普通发票")
|
|
|
private String invoiceType;
|
|
|
- @NotNull(message = "结算周期单位天", groups = {
|
|
|
+ @NotNull(message = "结算周期单位天不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "settlementCycle", value = "结算周期单位天")
|
|
|
private Integer settlementCycle;
|
|
|
- @NotBlank(message = "账户名称", groups = {
|
|
|
+ @NotBlank(message = "账户名称不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "accountName", value = "账户名称")
|
|
|
private String accountName;
|
|
|
- @NotBlank(message = "账号", groups = {
|
|
|
+ @NotBlank(message = "账号不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "accountNumber", value = "账号")
|
|
|
private String accountNumber;
|
|
|
- @NotBlank(message = "开户行名称", groups = {
|
|
|
+ @NotBlank(message = "开户行名称不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "openingBank", value = "开户行名称")
|
|
|
private String openingBank;
|
|
|
+ @NotBlank(message = "银行名称不能为空", groups = {
|
|
|
+ ValidatorGroup.Submit.class
|
|
|
+ })
|
|
|
+ @ApiModelProperty(name = "bankName", value = "银行名称")
|
|
|
+ private String bankName;
|
|
|
@ApiModelProperty(name = "swiftCode", value = "香港开户行")
|
|
|
private String swiftCode;
|
|
|
@ApiModelProperty(name = "remark", value = "备注")
|
|
|
private String remark;
|
|
|
- @NotBlank(message = "提交状态", groups = {
|
|
|
+ @NotBlank(message = "提交状态不能为空", groups = {
|
|
|
ValidatorGroup.Submit.class
|
|
|
})
|
|
|
@ApiModelProperty(name = "submitStatus", value = "提交状态1草稿2正式")
|