package com.unis.crk.cplbusiness.entity.result;

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 java.math.BigDecimal;
import java.util.Date;

/**
 * 成品粮监管-购销计划管理-明细表实体
 *
 * @author TS
 * @date  2024/07/08 15:42
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BusinessPgGopsPlanDetailVO对象", description="成品粮监管-购销计划管理-明细表实体")
public class BusinessPgGopsPlanDetailVO {

    /** 明细记录唯一标识符 */
    @ApiModelProperty(value = "明细记录唯一标识符", position = 1)
    private Integer ddcbid;

    /** 更新日期 */
    @ApiModelProperty(value = "更新日期", position = 2)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ModifyDate;


    /** 商品；data_crkyw_cplsp_default的id； */
    @ApiModelProperty(value = "商品；data_crkyw_cplsp_default的id；", position = 3)
    private String crkywCplspDefaultId;

    /** 性质Id */
    @ApiModelProperty(value = "性质Id", position = 4)
    private String xz;

    /** 性质名称 */
    @ApiModelProperty(value = "性质名称", position = 5)
    private String xzValue;

    /** 生产年份Id */
    @ApiModelProperty(value = "生产年份Id", position = 5)
    private String scnf;

    /** 生产年份名称 */
    @ApiModelProperty(value = "生产年份名称", position = 6)
    private String scnfValue;

    /** 产地Id */
    @ApiModelProperty(value = "产地Id", position = 7)
    private String cd;

    /** 产地名称 */
    @ApiModelProperty(value = "产地名称", position = 8)
    private String cdValue;

    /** 品种Id */
    @ApiModelProperty(value = "品种Id", position = 9)
    private String sjjlpzbh;

    /** 品种名称 */
    @ApiModelProperty(value = "品种名称", position = 10)
    private String sjjlpzmc;

    /** 等级Id */
    @ApiModelProperty(value = "等级Id", position = 11)
    private String sjjldjbh;

    /** 等级名称 */
    @ApiModelProperty(value = "等级名称", position = 12)
    private String sjjldjmc;

    /** 商品Id */
    @ApiModelProperty(value = "商品Id", position = 13)
    private String sjjlspmcbh;

    /** 商品名称 */
    @ApiModelProperty(value = "商品名称", position = 14)
    private String sjjlspmc;

    /** 品牌Id */
    @ApiModelProperty(value = "品牌Id", position = 15)
    private String sjjlppbh;

    /** 商品名称 */
    @ApiModelProperty(value = "sjjlppmc", position = 16)
    private String sjjlppmc;


    /** 数量 */
    @ApiModelProperty(value = "数量", position = 17)
    private BigDecimal sl;

    /** 剩余数量 */
    @ApiModelProperty(value = "剩余数量", position = 18)
    private BigDecimal sysl;

    /** 库存数量 */
    @ApiModelProperty(value = "库存数量", position = 19)
    private BigDecimal kcsl;

    /** 库存件数 */
    @ApiModelProperty(value = "库存件数", position = 20)
    private BigDecimal syjs;

    /** 仓库id */
    @ApiModelProperty(value = "仓库id", position = 21)
    private String ch;

    @ApiModelProperty(value = "规格",position = 22)
    private String gg;

    @ApiModelProperty(value = "计量单位",position = 23)
    private String jldw;

    @ApiModelProperty(value = "计量单位名称",position = 24)
    private String jldwmc;

    @ApiModelProperty(value = "保质期",position = 25)
    private String bzq;


    @ApiModelProperty(value = "是含税 0是 1否", position = 26)
    private String istax;

    @ApiModelProperty(value = "税率", position = 27)
    private Double taxrate;

    /** 单价，单位：元 */
    @ApiModelProperty(value = "单价，单位：元", position = 28)
    private BigDecimal dj;

    @ApiModelProperty(value = "完成数量", position = 29)
    private BigDecimal wcsl;

    @ApiModelProperty(value = "计划id", position = 30)
    private Integer planId;
}
