package org.dromara.erp.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.erp.domain.vo.ErpSaleOrderMasterVo;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ERP 销售订单主表 t_Sale_OrderMaster
 *
 * @author Antigravity
 */
@Data
@AutoMapper(target = ErpSaleOrderMasterVo.class)
@TableName("t_Sale_OrderMaster")
public class ErpSaleOrderMaster implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId("FRowID")
    private String rowId;

    @TableField("DocCode")
    private String docCode;

    @TableField("DocDate")
    private Date docDate;

    @TableField("DeliveryDate")
    private Date deliveryDate;

    @TableField("FNote")
    private String note;

    @TableField("CompanyID")
    private Integer companyId;

    @TableField("PeriodID")
    private String periodId;

    @TableField("FormID")
    private String formId;

    @TableField("EnterName")
    private String enterName;

    @TableField("EnterDate")
    private Date enterDate;

    @TableField("ModifyName")
    private String modifyName;

    @TableField("ModifyDate")
    private Date modifyDate;

    @TableField("DealerID")
    private String dealerId;

    @TableField("DealerNum")
    private String dealerNum;

    @TableField("DealerName")
    private String dealerName;

    @TableField("ClientID")
    private String clientId;

    @TableField("ClientNum")
    private String clientNum;

    @TableField("ClientName")
    private String clientName;

    @TableField("SaleDept")
    private String saleDept;

    @TableField("SaleMan")
    private String saleMan;

    @TableField("DutyMan")
    private String dutyMan;

    @TableField("ManagerMan")
    private String managerMan;

    @TableField("ProdMode")
    private String prodMode;

    @TableField("OrderState")
    private String orderState;

    @TableField("DocStatus")
    private Integer docStatus;

    @TableField("ClientCode")
    private String clientCode;

    @TableField("ProjectName")
    private String projectName;

    @TableField("GoodsKind")
    private String goodsKind;

    @TableField("MaxRate")
    private BigDecimal maxRate;

    @TableField("MinRate")
    private BigDecimal minRate;

    @TableField("IsTheory")
    private Integer isTheory;

    @TableField("SemiDate")
    private Date semiDate;

    @TableField("ProduceDate")
    private Date produceDate;

    @TableField("GoodsDate")
    private Date goodsDate;

    @TableField("IsExport")
    private Integer isExport;

    @TableField("UnFinishQty")
    private Integer unFinishQty;

    @TableField("Reviewed")
    private Integer reviewed;

    @TableField("ReviewName")
    private String reviewName;

    @TableField("ReviewDate")
    private Date reviewDate;

    @TableField("Approved")
    private Integer approved;

    @TableField("ApproveName")
    private String approveName;

    @TableField("ApproveDate")
    private Date approveDate;

    @TableField("Finished")
    private Integer finished;

    @TableField("FinishName")
    private String finishName;

    @TableField("FinishDate")
    private Date finishDate;

    @TableField("ExFinished")
    private Integer exFinished;

    @TableField("ExFinishName")
    private String exFinishName;

    @TableField("ExFinishDate")
    private Date exFinishDate;

    @TableField("Canceled")
    private Integer canceled;

    @TableField("Paused")
    private Integer paused;

    @TableField("PriceMode")
    private String priceMode;

    @TableField("IsTax")
    private Integer isTax;

    @TableField("TaxRate")
    private BigDecimal taxRate;

    @TableField("AluPrice")
    private BigDecimal aluPrice;

    @TableField("AluVariety")
    private String aluVariety;

}
