package org.jeecg.modules.stm.act.collection.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 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;

/**
 * @Description: st_ca_main_rel_collection
 * @Author: yzh
 * @Date:   2023-03-22
 * @Version: V1.0
 */
@Data
@TableName("st_ca_main_rel_collection")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class StCaMainRelCollection implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    
    private Integer id;
	/**集合编号*/
	@Excel(name = "集合编号", width = 15)
    
    private String collectionNo;
	/**控制活动编号*/
	@Excel(name = "控制活动编号", width = 15)
    
    private String caNo;
	/**审核标志;4 初始状态 3 提交审核 2退回 1审核通过*/
	@Excel(name = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过", width = 15)
    
    private String approveFlag;
	/**有效标志;1 表示有效 0删除*/
	@Excel(name = "有效标志;1 表示有效 0删除", width = 15)
    
    private String vaild;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    
    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")
    
    private Date createdTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    
    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")
    
    private Date updatedTime;
}
