package com.red.circle.other.inner.model.dto.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import jakarta.validation.constraints.NotBlank;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息文案类型表
 * </p>
 *
 * @author pengliang
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysMessageCopywritingTextTypeDTO extends DTO {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  @NotBlank(message = "推送类型不可为空")
  private String msgType;
  private String msgTypeName;

  @NotBlank(message = "业务场景不可为空")
  private String businessScene;
  private String businessSceneName;

  @NotBlank(message = "标题不可为空")
  private String title;


  @NotBlank(message = "内容不可为空")
  private String content;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * 创建人.
   */
  private Long createUser;
}

