package com.oying.modules.message.domain.myDto; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.sql.Timestamp; @Data @TableName("mes_msg_record") // 指定对应的表名 public class MesMsgRecordQueryPollDto{ @TableId(value = "id", type = IdType.AUTO) @ApiModelProperty(value = "主键") private Long id; // @ApiModelProperty(value = "模板ID 可无") // private Integer templateId; // // @NotBlank // @ApiModelProperty(value = "接收人ID") // private String receiverId; // // @NotNull // @ApiModelProperty(value = "1=买家 2=商户 3=骑手") // private Integer platform; // // @NotNull // @ApiModelProperty(value = "同模板type") // private Integer msgType; @NotBlank @ApiModelProperty(value = "最终标题") private String title; @NotBlank @ApiModelProperty(value = "最终内容") private String content; // @ApiModelProperty(value = "业务ID 例如订单ID") // private Long bizId; // // @ApiModelProperty(value = "业务类型 ORDER/EVALUATION 等") // private String bizType; // // @NotNull // @ApiModelProperty(value = "已读 0=未读 1=已读") // private Integer isRead; // // @ApiModelProperty(value = "阅读时间") // private Timestamp readTime; // // @ApiModelProperty(value = "扩展字段 存跳转链接等") // private String extra; // // @NotBlank // @ApiModelProperty(value = "创建人") // private String createBy; // // @NotNull // @ApiModelProperty(value = "创建时间") // private Timestamp createTime; // // @NotBlank // @ApiModelProperty(value = "更新人") // private String updateBy; // // @NotNull // @ApiModelProperty(value = "更新时间") // private Timestamp updateTime; }