| | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | |
| | | @TableField("name") |
| | | private String name; |
| | | |
| | | @NotEmpty(message = "公司id不能为空") |
| | | @ApiModelProperty(value = "提交公司id",required = true) |
| | | @TableField("company_id") |
| | | private Long companyId; |
| | |
| | | @TableField("privatize") |
| | | private Integer privatize; |
| | | |
| | | @NotBlank(message = "资源种类不能为空") |
| | | @NotNull(message = "资源种类不能为空") |
| | | @ApiModelProperty(value = "资源种类(1:视频2:音频;3:文档)",required = true) |
| | | @TableField("resource_type") |
| | | private Integer resourceType; |