package com.zzsmart.qomo.kn.cost.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author  
 * @since 2024-07-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("app_scene_cost_model")
public class CostModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 模型名称
     */
    @ApiModelProperty(value = "模型名称")
    @TableField("model_name")
    private String modelName;

    /**
     * 图号
     */
    @ApiModelProperty(value = "图号")
    @TableField("drawing_no")
    private Integer drawingNo;

    /**
     * 物料号
     */
    @ApiModelProperty(value = "物料号")
    @TableField("material_no")
    private Integer materialNo;

    /**
     * 物料类型
     */
    @ApiModelProperty(value = "物料类型")
    @TableField("material_type")
    private String materialType;

    /**
     * 模型版本
     */
    @ApiModelProperty(value = "模型版本")
    @TableField("model_version")
    private String modelVersion;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField("status")
    private String status;

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

    /**
     * 创建人
     */
    @TableField("create_by")
    private Integer createBy;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 更新人
     */
    @TableField("update_by")
    private Integer updateBy;

    /**
     * 模型配置信息
     */
    @TableField("cost_model_detail")
    private String costModelDetail;


    public static final String ID = "id";

    public static final String MODEL_NAME = "model_name";

    public static final String DRAWING_NO = "drawing_no";

    public static final String MATERIAL_NO = "material_no";

    public static final String MATERIAL_TYPE = "material_type";

    public static final String MODEL_VERSION = "model_version";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_BY = "update_by";

    public static final String COST_MODEL_DETAIL = "cost_model_detail";

}
