package com.prolog.cs.biz.outbound.model.entity;

import com.prolog.framework.bz.core.model.BaseModel;
import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author cheng.kong
 * @date 2022/7/22   18:20
 */
@Data
@ApiModel("订单排序规则")
@Table(value = "bill_sort_rule")
public class BillSortRule implements Serializable {

    @Id
    @ApiModelProperty(value = "主键id")
    @Column(value = "id")
    private String id;

    @ApiModelProperty(value = "仓库id")
    @Column(value = "warehouse_id")
    private String warehouseId;

    @ApiModelProperty(value = "仓编码")
    @Column(value = "warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "仓名称")
    @Column(value = "warehouse_name")
    private String warehouseName;

    @ApiModelProperty(value = "单据类型")
    @Column(value = "bill_type")
    private String billType;

    @ApiModelProperty(value = "配送方式")
    @Column(value = "deliver_type")
    private String deliverType;

    @ApiModelProperty(value = "顺序号")
    @Column(value = "sort_num")
    private Integer sortNum;

    @ApiModelProperty(value = "状态 0:保存 1:删除 ")
    @Column(value = "status")
    private String status;

    @ApiModelProperty(value = "创建人")
    @Column(value = "create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @Column(value = "create_date")
    private Date createDate;

    @ApiModelProperty(value = "修改人")
    @Column(value = "last_modify_by")
    private String lastModifyBy;

    @ApiModelProperty(value = "修改时间")
    @Column(value = "last_modify_date")
    private Date lastModifyDate;

    @ApiModelProperty(value = "企业ID")
    @Column(value = "enterprise_id")
    private String enterpriseId;

}
