package cn.iocoder.yudao.server.controller.admin.vo.oa;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.util.*;

@Schema(description = "管理后台 - OA消息通知新增/修改 Request VO")
@Data
public class IotOaNoticeSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "21323")
    private Long id;

    @Schema(description = "oa的创建人")
    private String oaCreator;

    @Schema(description = "OA的创建时间")
    private String oaCreateTime;

    @Schema(description = "OA的创建人", example = "李四")
    private String oaCreateName;

    @Schema(description = "消息标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "消息标题不能为空")
    private String title;

    @Schema(description = "工号")
    private String workCode;

    @Schema(description = "crm的消息主键id", example = "8663")
    private String crmNoticeId;

}