| | |
| | | import lombok.experimental.Accessors; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Pattern; |
| | |
| | | private String phone; |
| | | |
| | | @ApiModelProperty("删除标志,0未删除,1删除,默认0") |
| | | @TableField("delFlag") |
| | | @TableField("del_flag") |
| | | private Integer delFlag; |
| | | |
| | | @ApiModelProperty("剩余课时(分)") |
| | | @ApiModelProperty("剩余课时(秒)") |
| | | @TableField("remain_period") |
| | | private Integer remainPeriod; |
| | | private Long remainPeriod; |
| | | |
| | | @ApiModelProperty("已用课时(分)") |
| | | @TableField("spend_period") |
| | | private Integer spendPeriod; |
| | | |
| | | @NotNull(message = "总课时不能为空") |
| | | @ApiModelProperty(value = "总课时(分)",required = true) |
| | | @Max(value = 9999999999L,message = "总课时长度不能超过10位") |
| | | @ApiModelProperty(value = "总课时(秒)",required = true) |
| | | @TableField("total_period") |
| | | private Integer totalPeriod; |
| | | private Long totalPeriod; |
| | | |
| | | @Version |
| | | @ApiModelProperty("乐观锁") |