15 changed files with 108 additions and 20 deletions
@ -0,0 +1,32 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/5/5 17:40 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UpdateSortFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2348273552712227952L; |
||||
|
public interface UpdateSortForm{} |
||||
|
|
||||
|
@NotBlank(message = "id不能为空",groups = UpdateSortForm.class) |
||||
|
private String id; |
||||
|
|
||||
|
@NotNull(message = "sort不能为空",groups = UpdateSortForm.class) |
||||
|
private BigDecimal sort; |
||||
|
|
||||
|
/** |
||||
|
* house:房屋,building:楼栋 |
||||
|
*/ |
||||
|
@NotBlank(message = "type不能为空",groups = UpdateSortForm.class) |
||||
|
private String type; |
||||
|
} |
Loading…
Reference in new issue