package vip.xiaonuo.warehouse.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-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("warehouse_age")
public class WarehouseAge implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称", position =1)
    private Integer material;

    /**
     * 1-3月
     */
    @ApiModelProperty(value = "1-3月", position =2)
    private String oneThree;

    /**
     * 4-6月
     */
    @ApiModelProperty(value = "4-6月", position =3)
    private String fourSix;

    /**
     * 7-12月
     */
    @ApiModelProperty(value = "7-12月", position =4)
    private String sevenYear;

    /**
     * 1-2年
     */
    @ApiModelProperty(value = "1-2年", position =5)
    private String yearOne;

    /**
     * 2-3年
     */
    @ApiModelProperty(value = "2-3年", position =6)
    private String yearTwo;

    /**
     * 3-4年
     */
    @ApiModelProperty(value = "3-4年", position =7)
    private String yearThree;

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

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", position = 9)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;


}
