| | |
| | | import lombok.experimental.Accessors; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | |
| | | @TableField("introduce") |
| | | private String introduce; |
| | | |
| | | @ApiModelProperty("审批状态(0创建,1待审核,2审批通过,3审批不通过 默认0)") |
| | | @ApiModelProperty("审批状态(0待提交,1待审核,2审批通过,3审批不通过 默认0)") |
| | | @TableField("state") |
| | | private Integer state; |
| | | |
| | | @NotNull(message = "提交公司id不能为空") |
| | | @ApiModelProperty(value = "提交公司id",required = true) |
| | | @TableField("company_id") |
| | | private Long companyId; |
| | |
| | | @TableField("privatize") |
| | | private Integer privatize; |
| | | |
| | | @NotNull(message = "要求课时不能为空") |
| | | @ApiModelProperty(value = "要求课时(秒)",required = true) |
| | | @Min(value = 0,message = "课时格式不正确") |
| | | @TableField("period") |
| | | private Long period; |
| | | @Length(min = 0, max = 50, message = "审批意见不能超过50个字符") |
| | | @ApiModelProperty("审批意见") |
| | | @TableField("message") |
| | | private String message; |
| | | |
| | | |
| | | @ApiModelProperty("乐观锁") |
| | |
| | | private String categoryName; |
| | | |
| | | |
| | | @ApiModelProperty(value = "要求课时(秒) 所有小结总和") |
| | | @TableField(exist = false) |
| | | private Long period; |
| | | |
| | | |
| | | } |