forked from rongchao/epmet-cloud-rizhao
7 changed files with 164 additions and 1 deletions
@ -0,0 +1,48 @@ |
|||
package com.epmet.resi.partymember.dto.partyOrg.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/8/18 16:23 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class AddOrEditScheduleFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 6290505458783549828L; |
|||
|
|||
public interface AddScheduleForm{} |
|||
|
|||
private String scheduleId; |
|||
private String staffId; |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 日程标题(35字) |
|||
*/ |
|||
@NotBlank(message = "title不能为空",groups = AddScheduleForm.class) |
|||
private String title; |
|||
|
|||
/** |
|||
* 提醒时间;其实就是日程所属日期 |
|||
*/ |
|||
@NotNull(message = "remindTime不能为空",groups = AddScheduleForm.class) |
|||
private Date remindTime; |
|||
|
|||
/** |
|||
* 是否公开,0:仅自己可见;1:组织内其他人可见 |
|||
*/ |
|||
@NotBlank(message = "isPublic不能为空",groups = AddScheduleForm.class) |
|||
private String isPublic; |
|||
|
|||
/** |
|||
* 备注(500字) |
|||
*/ |
|||
private String remark; |
|||
} |
Loading…
Reference in new issue