package com.yunzhupaas.cm.model.contract;

import lombok.Data;
import java.util.List;
import java.util.Date;
import java.math.BigDecimal;
import com.alibaba.fastjson.annotation.JSONField;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 *
 * 合同管理
 * 版本： V5.2.7
 * 版权: Copyright @ 2025  深圳市乐程软件有限公司版权所有
 * 作者： 深圳市乐程软件有限公司
 * 日期： 2026-05-20
 */
@Data
@Schema(description = "WorktypeSubject子表参数")
public class WorktypeSubjectModel  {

    /** 子表：WorktypeSubject 主键：subject_id **/
    @Schema(description = "主键")
    @JsonProperty("subject_id")
    private String subject_id;
    /** 工种 **/
    @Schema(description = "工种")
    @JsonProperty("work_type_id")
    @JSONField(name = "work_type_id")
    private String workTypeId;
    private String work_type_id_id;
    /** 数量 **/
    @Schema(description = "数量")
    @JsonProperty("quantity")
    @JSONField(name = "quantity")
    private BigDecimal quantity;
    /** 销售单价 **/
    @Schema(description = "销售单价")
    @JsonProperty("unit_price")
    @JSONField(name = "unit_price")
    private String unitPrice;
    /** 数量单位 **/
    @Schema(description = "数量单位")
    @JsonProperty("quantity_unit")
    @JSONField(name = "quantity_unit")
    private BigDecimal quantityUnit;
    /** 币种 **/
    @Schema(description = "币种")
    @JsonProperty("currency")
    @JSONField(name = "currency")
    private Object currency;
    /** 总金额 **/
    @Schema(description = "总金额")
    @JsonProperty("total_amount")
    @JSONField(name = "total_amount")
    private BigDecimal totalAmount;
    /** 折扣类型 **/
    @Schema(description = "折扣类型")
    @JsonProperty("discount_type")
    @JSONField(name = "discount_type")
    private Object discountType;
    /** 折扣值 **/
    @Schema(description = "折扣值")
    @JsonProperty("discount_value")
    @JSONField(name = "discount_value")
    private BigDecimal discountValue;
    /** 最终金额 **/
    @Schema(description = "最终金额")
    @JsonProperty("final_amount")
    @JSONField(name = "final_amount")
    private BigDecimal finalAmount;
    /** 税率 **/
    @Schema(description = "税率")
    @JsonProperty("tax_rate")
    @JSONField(name = "tax_rate")
    private BigDecimal taxRate;
    /** 税额 **/
    @Schema(description = "税额")
    @JsonProperty("tax_amount")
    @JSONField(name = "tax_amount")
    private BigDecimal taxAmount;
    /** 工种描述 **/
    @Schema(description = "工种描述")
    @JsonProperty("work_description")
    @JSONField(name = "work_description")
    private String workDescription;
}
