| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private String id; |
| | | |
| | | @Length(max = 20,message = "姓名不能超过20个字符") |
| | | @ApiModelProperty(value = "姓名") |
| | | @TableField("user_name") |
| | | private String userName; |
| | |
| | | @TableField("birth_date") |
| | | private LocalDate birthDate; |
| | | |
| | | @Length(max = 40,message = "服务区域不能超过40个字符") |
| | | @ApiModelProperty(value = "服务区域") |
| | | @TableField("service_area") |
| | | private String serviceArea; |