| | |
| | | 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; |
| | | |
| | |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private String id; |
| | | |
| | | @Length(max = 50,message = "组织名称不能超过50个字符") |
| | | @ApiModelProperty(value = "组织名称") |
| | | @TableField("organization_name") |
| | | private String organizationName; |
| | | |
| | | @Length(max = 20,message = "组织负责人不能超过20个字符") |
| | | @ApiModelProperty(value = "组织负责人") |
| | | @TableField("organization_person") |
| | | private String organizationPerson; |
| | |
| | | @TableField("address") |
| | | private String address; |
| | | |
| | | @Pattern(regexp = "^1[3-9]\\\\d{9}$",message = "手机号格式不正确") |
| | | @ApiModelProperty(value = "联系电话") |
| | | @TableField("contact_number") |
| | | private String contactNumber; |