| | |
| | | import org.hibernate.validator.constraints.NotEmpty; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | public class SaasClientPay { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id",type = IdType.UUID) |
| | | private String id; |
| | | /** |
| | | * 诊断医生所在科室 |
| | | */ |
| | | @NotEmpty(message = "科室的名称不能为空") |
| | | private String createHospitalDepartment; |
| | | /** |
| | | * 科室的唯一标识 |
| | |
| | | /** |
| | | * 创建医院的唯一标识 |
| | | */ |
| | | @NotEmpty(message = "创建医院的唯一标识不能为空") |
| | | @NotNull(message = "创建医院的唯一标识不能为空") |
| | | private Long createHospitalId; |
| | | /** |
| | | * 创建医院名称 |
| | | */ |
| | | @NotEmpty(message = "医院名称不能为空") |
| | | private String createHospitalName; |
| | | /** |
| | | * 医生id |
| | | */ |
| | | @NotEmpty(message = "医生id不能为空") |
| | | private String createDoctorId; /** |
| | | * 医生姓名 |
| | | */ |
| | | @NotEmpty(message = "医生姓名不能为空") |
| | | private String createDoctorName; |
| | | /** |
| | | * 金额 (单位为分) |
| | | */ |
| | | @NotEmpty(message = "金额 (单位为分)不能为空") |
| | | |
| | | private Integer payPrice; |
| | | /** |
| | | * 内部订单号 |
| | | */ |
| | | @NotEmpty(message = "内部订单号不能为空") |
| | | |
| | | private String outTradeNo; |
| | | /** |
| | | * 支付完成时间 |
| | |
| | | */ |
| | | @NotEmpty(message = "关联诊断记录ID不能为空") |
| | | private String diaId; |
| | | |
| | | /** |
| | | * 孩子的id |
| | | */ |
| | | @NotEmpty(message = "孩子的id") |
| | | private String childId; |
| | | /** |
| | | * 支付宝交易号 微信支付订单号 |
| | | */ |
| | |
| | | /** |
| | | * 支付给喜高的费用 |
| | | */ |
| | | private String payKidgrow; |
| | | private Integer payKidgrow; |
| | | /** |
| | | * 支付给客户的费用 |
| | | 支付给客户的费用 |
| | | */ |
| | | private String payCustom; |
| | | private Integer payCustom; |
| | | /** |
| | | * 支付状态 |
| | | */ |
| | | private Boolean type; |
| | | |
| | | private String childName; |
| | | /** |
| | | * 孩子的出生日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai") |
| | | private Date childBirthday; |
| | | /** |
| | | * 孩子的性别 |
| | | */ |
| | | private Integer childSex; |
| | | |
| | | @JsonSerialize( |
| | | using = ToStringSerializer.class |
| | | ) |
| | | @TableId( |
| | | type = IdType.ASSIGN_ID |
| | | ) |
| | | @DateTimeFormat( |
| | | pattern = "yyyy-MM-dd HH:mm:ss" |