package org.jeecg.modules.system.entity;

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.util.Date;

/**
 * 助理和运营关系记录表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2022-09-16
 */
@Data
@TableName("sys_operate_rel")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "sys_operate_rel对象", description = "助理和运营关系记录表")
public class SysOperateRel {

    /**
     * 助理ID
     */
    @Excel(name = "助理ID", width = 15)
    @ApiModelProperty(value = "助理ID")
    private String assistantId;
    /**
     * 运营ID
     */
    @Excel(name = "运营ID", width = 15)
    @ApiModelProperty(value = "运营ID")
    private String operateId;
    /**
     * 月份
     */
    @Excel(name = "月份", width = 15)
    @ApiModelProperty(value = "月份")
    private String statMonth;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, 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 createTime;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 20, 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 updateTime;
}
