MessageCenter
package com.jxmcloud.business.shop.model;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jxmcloud.core.beans.model.common.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@Data
@Api(tags = "MessageCenter", description = "")
@TableName("Message_center")
public class MessageCenter extends BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "消息类型1、小店首页 2、店铺分类 3、商品管理 4、商品采购",name="type")
private String type;
@ApiModelProperty(value = "消息内容",name="content")
private String content;
// @ApiModelProperty(value = "用户电话",name="phone")
// private String phone;
@ApiModelProperty(value = "启用日期", name = "commissioningTime")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
public Date commissioningTime;
}