package vip.xiaonuo.production.entity;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生成管控产量情况
 * </p>
 *
 * @author author
 * @since 2024-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("production_yield")
public class ProductionYield implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称",position = 1)
    private String companyName;

    /**
     * 车间名称
     */
    @ApiModelProperty(value = "车间名称",position =2)
    private String locationName;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称",position =3 )
    private String produceName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",position = 4)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 计划产量
     */
    @ApiModelProperty(value = "计划产量",position =5 )
    private String planProduction;

    /**
     * 实际产量
     */
    @ApiModelProperty(value = "实际产量",position = 6)
    private String actualProduction;

    /**
     * 完成率
     */
    @ApiModelProperty(value = "完成率",position =7 )
    private String completeRate;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id",position =8 )
    private String orgId;


}
