package com.yunzhupaas.cm.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
/**
 * 合同标的物表（人工）
 *
 * @版本： V5.2.7
 * @版权： Copyright @ 2025  深圳市乐程软件有限公司版权所有
 * @作者： 深圳市乐程软件有限公司
 * @日期： 2026-05-20
 */
@Data
@TableName("cm_worktype_subject")
public class WorktypeSubjectEntity  {
    @TableId(value ="subject_id"  )
    @JSONField(name = "subject_id")
    private String subjectId;
    @TableField("contract_id")
    @JSONField(name = "contract_id")
    private String contractId;
    @TableField(value = "work_type_id" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "work_type_id")
    private String workTypeId;
    @TableField(value = "work_description" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "work_description")
    private String workDescription;
    @TableField(value = "quantity" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "quantity")
    private BigDecimal quantity;
    @TableField(value = "quantity_unit" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "quantity_unit")
    private String quantityUnit;
    @TableField(value = "unit_price" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "unit_price")
    private BigDecimal unitPrice;
    @TableField(value = "currency" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "currency")
    private String currency;
    @TableField(value = "total_amount" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "total_amount")
    private BigDecimal totalAmount;
    @TableField(value = "tax_rate" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "tax_rate")
    private BigDecimal taxRate;
    @TableField("tax_code_id")
    @JSONField(name = "tax_code_id")
    private String taxCodeId;
    @TableField(value = "tax_amount" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "tax_amount")
    private BigDecimal taxAmount;
    @TableField(value = "discount_type" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "discount_type")
    private String discountType;
    @TableField(value = "discount_value" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "discount_value")
    private BigDecimal discountValue;
    @TableField(value = "final_amount" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "final_amount")
    private BigDecimal finalAmount;
    @TableField("remark")
    @JSONField(name = "remark")
    private String remark;
    @TableField("create_by")
    @JSONField(name = "create_by")
    private String createBy;
    @TableField("create_time")
    @JSONField(name = "create_time")
    private Date createTime;
    @TableField("update_by")
    @JSONField(name = "update_by")
    private String updateBy;
    @TableField("update_time")
    @JSONField(name = "update_time")
    private Date updateTime;
    @TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "f_tenant_id")
    private String tenantId;

}
