package org.stm.compliane.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("st_compliane_range_codes")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ST_COMPLIANE_RANGE_CODES对象", description="合规库使用范围编码")
public class StComplianeRangeCodes  implements Serializable {
    /** ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(name = "ID",notes = "")
    private Integer id ;
    /** 文件编号 */
    @ApiModelProperty(name = "文件编号",notes = "")
    private String complianeNo ;
    /** 适用范围编码 */
    @ApiModelProperty(name = "适用范围编码",notes = "")
    private String applyRangeCode ;
    /** 有效标志;1 表示有效 0删除 */
    @ApiModelProperty(name = "有效标志",notes = "1 表示有效 0删除")
    private String vaild ;
    /** 创建人 */
    @ApiModelProperty(name = "创建人",notes = "")
    private String createdUser ;
    /** 创建时间 */
    @Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime ;
    /** 更新人 */
    @ApiModelProperty(name = "更新人",notes = "")
    private String updatedUser ;
    /** 更新时间 */
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime ;

}
