| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Pattern; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | @TableField("type_children_id") |
| | | private String typeChildrenId; |
| | | |
| | | @Length(max = 40,message = "资源单位不能超过40个字符") |
| | | @ApiModelProperty(value = "资源单位") |
| | | @TableField("resource_unit") |
| | | private String resourceUnit; |
| | |
| | | @TableField("resource_name_desc") |
| | | private String resourceNameDesc; |
| | | |
| | | @Length(max = 50,message = "资源来源不能超过50个字符") |
| | | @ApiModelProperty(value = "资源来源") |
| | | @TableField("resource_source") |
| | | private String resourceSource; |
| | |
| | | @TableField("quantity_scale") |
| | | private String quantityScale; |
| | | |
| | | @Length(max = 20,message = "联系人不能超过20个字符") |
| | | @ApiModelProperty(value = "联系人") |
| | | @TableField("contact_person") |
| | | private String contactPerson; |
| | | |
| | | @Pattern(regexp = "^1[3-9]\\\\d{9}$",message = "手机号格式不正确") |
| | | @ApiModelProperty(value = "联系电话") |
| | | @TableField("contact_number") |
| | | private String contactNumber; |