package com.sqx.modules.errand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Notice {

    @TableId(type = IdType.AUTO, value = "id")
    private Long id;

    @ApiModelProperty("公告标题")
    @TableField(value = "title")
    private String title;

    @ApiModelProperty("公告内容")
    @TableField(value = "url")
    private String url;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private String createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time")
    private String updateTime;

    @ApiModelProperty("状态 0正常 1删除")
    @TableField(value = "status")
    private Integer status;

    /*@ApiModelProperty("发布人id")
    @TableField(value = "issuer")
    private String issuer;*/

    @ApiModelProperty("公告类型")
    @TableField(value = "type")
    private Integer type;

}
