5 changed files with 167 additions and 27 deletions
@ -1,8 +1,130 @@ |
|||
package com.qs.serve.modules.vtb.entity.dto; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* @author YenHex |
|||
* @since 2023/11/15 |
|||
*/ |
|||
@Data |
|||
public class PayPaymentItemExtend { |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** |
|||
* 支付类型 |
|||
* pay - 支付 |
|||
* unPay - 不再支付 |
|||
**/ |
|||
private String payType; |
|||
|
|||
/** 支付id */ |
|||
@NotNull(message = "支付id不能为空") |
|||
private Long paymentId; |
|||
|
|||
/** 供应商id */ |
|||
@NotNull(message = "供应商id不能为空") |
|||
private Long supplierId; |
|||
|
|||
/** 支付金额 */ |
|||
@NotNull(message = "支付金额不能为空") |
|||
private BigDecimal itemPayAmount; |
|||
|
|||
/** 核销id */ |
|||
@NotNull(message = "核销id不能为空") |
|||
private Long verificationId; |
|||
|
|||
private String verificationMainCode; |
|||
|
|||
private String verificationCode; |
|||
|
|||
/** 核销科目项id */ |
|||
@NotNull(message = "核销科目项id不能为空") |
|||
private Long verificationSubjectId; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
|
|||
private String costApplyCode; |
|||
|
|||
private String costApplyTitle; |
|||
|
|||
/** 活动编码 */ |
|||
@NotBlank(message = "活动编码不能为空") |
|||
@Length(max = 30,message = "活动编码长度不能超过30字") |
|||
private String activityCode; |
|||
|
|||
private String activityTitle; |
|||
|
|||
/** 政策项id */ |
|||
private Long policyItemId; |
|||
|
|||
/** 政策项编码 */ |
|||
private String policyItemCode; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 50,message = "科目编码长度不能超过50字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 50,message = "科目名称长度不能超过50字") |
|||
private String subjectName; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
|
|||
@TableField(condition = SqlCondition.LIKE) |
|||
private String erpId; |
|||
|
|||
@TableField(condition = SqlCondition.LIKE) |
|||
private String billNumber; |
|||
|
|||
|
|||
/** 支付时间 */ |
|||
@NotNull(message = "支付时间不能为空") |
|||
@Length(max = 0,message = "支付时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime payTime; |
|||
|
|||
/** 支付时间 */ |
|||
@NotNull(message = "支付日期不能为空") |
|||
@Length(max = 0,message = "支付时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime payDate; |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue