package com.zzsmart.qomo.kn.cost.manage.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.*;
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: app_scene_cost_model
 * @Author: jeecg-boot
 * @Date: 2024-09-09
 * @Version: V1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("app_scene_cost_model")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "app_scene_cost_model对象", description = "app_scene_cost_model")
public class AppSceneCostModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
     * 模型名称
     */
    @Excel(name = "模型名称", width = 15)
    @ApiModelProperty(value = "模型名称")
    private String modelName;
    /**
     * 模型类型（标准成本、成本挖掘）
     */
    @Excel(name = "模型类型（标准成本、成本挖掘）", width = 15)
    @ApiModelProperty(value = "模型类型（标准成本、成本挖掘）")
    private String modelType;
    /**
     * 模型定义id
     */
    @Excel(name = "模型定义id", width = 15)
    @ApiModelProperty(value = "模型定义id")
    private Integer flowDefinitionId;
    /**
     * 状态(草稿、已发布、已作废)
     */
    @Excel(name = "状态(草稿、已发布、已作废)", width = 15)
    @ApiModelProperty(value = "状态(草稿、已发布、已作废)")
    private String status;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
}
