提交合同模块
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
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_asset_subject")
|
||||
public class AssetSubjectEntity {
|
||||
@TableId(value ="subject_id" )
|
||||
@JSONField(name = "subject_id")
|
||||
private String subjectId;
|
||||
@TableField("contract_id")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "asset_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "asset_id")
|
||||
private String assetId;
|
||||
@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 = "begin_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "begin_date")
|
||||
private Date beginDate;
|
||||
@TableField(value = "end_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "end_date")
|
||||
private Date endDate;
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
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;
|
||||
/**
|
||||
* 合同基本信息
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("cm_contract")
|
||||
public class ContractEntity {
|
||||
@TableId(value ="contract_id" )
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "contract_code" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_code")
|
||||
private String contractCode;
|
||||
@TableField(value = "contract_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_name")
|
||||
private String contractName;
|
||||
@TableField(value = "contract_type" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_type")
|
||||
private String contractType;
|
||||
@TableField(value = "contract_temp_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_temp_id")
|
||||
private String contractTempId;
|
||||
@TableField(value = "org_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "org_id")
|
||||
private String orgId;
|
||||
@TableField(value = "project_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "project_id")
|
||||
private String projectId;
|
||||
@TableField(value = "contract_category" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_category")
|
||||
private String contractCategory;
|
||||
@TableField(value = "effective_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "effective_date")
|
||||
private Date effectiveDate;
|
||||
@TableField(value = "expiry_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "expiry_date")
|
||||
private Date expiryDate;
|
||||
@TableField(value = "contract_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_date")
|
||||
private Date contractDate;
|
||||
@TableField(value = "contract_money" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_money")
|
||||
private BigDecimal contractMoney;
|
||||
@TableField(value = "final_contract_amount" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "final_contract_amount")
|
||||
private BigDecimal finalContractAmount;
|
||||
@TableField(value = "tax_amount" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "tax_amount")
|
||||
private BigDecimal taxAmount;
|
||||
@TableField(value = "excluding_tax_amount" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "excluding_tax_amount")
|
||||
private BigDecimal excludingTaxAmount;
|
||||
@TableField(value = "final_amount_upper" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "final_amount_upper")
|
||||
private String finalAmountUpper;
|
||||
@TableField(value = "our_company_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "our_company_id")
|
||||
private String ourCompanyId;
|
||||
@TableField(value = "our_company_type" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "our_company_type")
|
||||
private String ourCompanyType;
|
||||
@TableField(value = "second_party_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "second_party_id")
|
||||
private String secondPartyId;
|
||||
@TableField(value = "second_party_type" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "second_party_type")
|
||||
private String secondPartyType;
|
||||
@TableField(value = "third_party_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "third_party_id")
|
||||
private String thirdPartyId;
|
||||
@TableField(value = "third_party_type" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "third_party_type")
|
||||
private String thirdPartyType;
|
||||
@TableField(value = "print_temp_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "print_temp_id")
|
||||
private String printTempId;
|
||||
@TableField(value = "is_sub_contract" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "is_sub_contract")
|
||||
private String isSubContract;
|
||||
@TableField(value = "ref_contract_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "ref_contract_id")
|
||||
private String refContractId;
|
||||
@TableField(value = "major_person_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "major_person_id")
|
||||
private String majorPersonId;
|
||||
@TableField(value = "contract_files" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "contract_files")
|
||||
private String contractFiles;
|
||||
@TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@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;
|
||||
@TableField("f_flow_id")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
@TableField("f_flow_task_id")
|
||||
@JSONField(name = "f_flow_task_id")
|
||||
private String flowTaskId;
|
||||
@TableField(value = "our_company_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "our_company_name")
|
||||
private String ourCompanyName;
|
||||
@TableField(value = "second_party_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "second_party_name")
|
||||
private String secondPartyName;
|
||||
@TableField(value = "third_party_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "third_party_name")
|
||||
private String thirdPartyName;
|
||||
|
||||
@JSONField(name = "productSubject")
|
||||
@TableField(exist = false)
|
||||
private List<ProductSubjectEntity> productSubject;
|
||||
@JSONField(name = "worktypeSubject")
|
||||
@TableField(exist = false)
|
||||
private List<WorktypeSubjectEntity> worktypeSubject;
|
||||
@JSONField(name = "assetSubject")
|
||||
@TableField(exist = false)
|
||||
private List<AssetSubjectEntity> assetSubject;
|
||||
@JSONField(name = "materialSubject")
|
||||
@TableField(exist = false)
|
||||
private List<MaterialSubjectEntity> materialSubject;
|
||||
@JSONField(name = "taskSubject")
|
||||
@TableField(exist = false)
|
||||
private List<TaskSubjectEntity> taskSubject;
|
||||
@JSONField(name = "paymentPlan")
|
||||
@TableField(exist = false)
|
||||
private List<PaymentPlanEntity> paymentPlan;
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
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_material_subject")
|
||||
public class MaterialSubjectEntity {
|
||||
@TableId(value ="subject_id" )
|
||||
@JSONField(name = "subject_id")
|
||||
private String subjectId;
|
||||
@TableField("contract_id")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "material_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "material_id")
|
||||
private String materialId;
|
||||
@TableField(value = "brand" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "brand")
|
||||
private String brand;
|
||||
@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("discount_type")
|
||||
@JSONField(name = "discount_type")
|
||||
private String discountType;
|
||||
@TableField("discount_value")
|
||||
@JSONField(name = "discount_value")
|
||||
private BigDecimal discountValue;
|
||||
@TableField("final_amount")
|
||||
@JSONField(name = "final_amount")
|
||||
private BigDecimal finalAmount;
|
||||
@TableField(value = "warranty_period" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "warranty_period")
|
||||
private Integer warrantyPeriod;
|
||||
@TableField(value = "warranty_terms" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "warranty_terms")
|
||||
private String warrantyTerms;
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
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;
|
||||
/**
|
||||
* 合同付款计划
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("cm_payment_plan")
|
||||
public class PaymentPlanEntity {
|
||||
@TableId(value ="payment_plan_id" )
|
||||
@JSONField(name = "payment_plan_id")
|
||||
private String paymentPlanId;
|
||||
@TableField("contract_id")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "plan_seq_num" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "plan_seq_num")
|
||||
private Integer planSeqNum;
|
||||
@TableField(value = "billing_item_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "billing_item_id")
|
||||
private String billingItemId;
|
||||
@TableField(value = "payment_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "payment_name")
|
||||
private String paymentName;
|
||||
@TableField(value = "payment_condition" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "payment_condition")
|
||||
private String paymentCondition;
|
||||
@TableField(value = "payment_ratio" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "payment_ratio")
|
||||
private BigDecimal paymentRatio;
|
||||
@TableField(value = "payment_amount" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "payment_amount")
|
||||
private BigDecimal paymentAmount;
|
||||
@TableField(value = "plan_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "plan_date")
|
||||
private Date planDate;
|
||||
@TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
@TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
|
||||
@JSONField(name = "f_tenant_id")
|
||||
private String tenantId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
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_product_subject")
|
||||
public class ProductSubjectEntity {
|
||||
@TableId(value ="subject_id" )
|
||||
@JSONField(name = "subject_id")
|
||||
private String subjectId;
|
||||
@TableField("contract_id")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "product_id" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "product_id")
|
||||
private String productId;
|
||||
@TableField(value = "brand" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "brand")
|
||||
private String brand;
|
||||
@TableField(value = "product_model" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "product_model")
|
||||
private String productModel;
|
||||
@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(value = "warranty_period" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "warranty_period")
|
||||
private Integer warrantyPeriod;
|
||||
@TableField(value = "warranty_terms" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "warranty_terms")
|
||||
private String warrantyTerms;
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
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_task_subject")
|
||||
public class TaskSubjectEntity {
|
||||
@TableId(value ="subject_id" )
|
||||
@JSONField(name = "subject_id")
|
||||
private String subjectId;
|
||||
@TableField("contract_id")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
@TableField(value = "task_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "task_name")
|
||||
private String taskName;
|
||||
@TableField(value = "task_description" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "task_description")
|
||||
private String taskDescription;
|
||||
@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(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
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;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class AssetSubjectExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
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 = "AssetSubject子表参数")
|
||||
public class AssetSubjectModel {
|
||||
|
||||
/** 子表:AssetSubject 主键:subject_id **/
|
||||
@Schema(description = "主键")
|
||||
@JsonProperty("subject_id")
|
||||
private String subject_id;
|
||||
/** 资产名称 **/
|
||||
@Schema(description = "资产名称")
|
||||
@JsonProperty("asset_id")
|
||||
@JSONField(name = "asset_id")
|
||||
private String assetId;
|
||||
private String asset_id_id;
|
||||
/** 开始日期 **/
|
||||
@Schema(description = "开始日期")
|
||||
@JsonProperty("begin_date")
|
||||
@JSONField(name = "begin_date")
|
||||
private Long beginDate;
|
||||
/** 结束日期 **/
|
||||
@Schema(description = "结束日期")
|
||||
@JsonProperty("end_date")
|
||||
@JSONField(name = "end_date")
|
||||
private Long endDate;
|
||||
/** 租赁天数 **/
|
||||
@Schema(description = "租赁天数")
|
||||
@JsonProperty("quantity")
|
||||
@JSONField(name = "quantity")
|
||||
private BigDecimal quantity;
|
||||
/** 租赁单价 **/
|
||||
@Schema(description = "租赁单价")
|
||||
@JsonProperty("unit_price")
|
||||
@JSONField(name = "unit_price")
|
||||
private BigDecimal unitPrice;
|
||||
/** 单位 **/
|
||||
@Schema(description = "单位")
|
||||
@JsonProperty("quantity_unit")
|
||||
@JSONField(name = "quantity_unit")
|
||||
private String 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;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class ContractExcelErrorVO extends ContractExcelVO{
|
||||
|
||||
@Excel(name = "异常原因",orderNum = "-999")
|
||||
@JSONField(name = "errorsInfo")
|
||||
private String errorsInfo;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class ContractExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.*;
|
||||
import java.math.BigDecimal;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "表单参数")
|
||||
public class ContractForm {
|
||||
/** 主键 */
|
||||
@Schema(description = "主键")
|
||||
@JSONField(name = "contract_id")
|
||||
private String contractId;
|
||||
|
||||
/** 流程id **/
|
||||
@Schema(description = "流程id")
|
||||
@JsonProperty("flowId")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
/** 流程权限列表 **/
|
||||
@JsonProperty("formOperates")
|
||||
private List<Map<String,Object>> formOperates = new ArrayList<>();
|
||||
|
||||
/** 合同类型 **/
|
||||
@Schema(description = "合同类型")
|
||||
@JsonProperty("contract_type")
|
||||
@JSONField(name = "contract_type")
|
||||
private String contractType;
|
||||
/** 引用模版 **/
|
||||
@Schema(description = "引用模版")
|
||||
@JsonProperty("contract_temp_id")
|
||||
@JSONField(name = "contract_temp_id")
|
||||
private String contractTempId;
|
||||
/** 合同名称 **/
|
||||
@Schema(description = "合同名称")
|
||||
@JsonProperty("contract_name")
|
||||
@JSONField(name = "contract_name")
|
||||
private String contractName;
|
||||
/** 合同编码 **/
|
||||
@Schema(description = "合同编码")
|
||||
@JsonProperty("contract_code")
|
||||
@JSONField(name = "contract_code")
|
||||
private String contractCode;
|
||||
/** 归属组织 **/
|
||||
@Schema(description = "归属组织")
|
||||
@JsonProperty("org_id")
|
||||
@JSONField(name = "org_id")
|
||||
private Object orgId;
|
||||
/** 归属项目 **/
|
||||
@Schema(description = "归属项目")
|
||||
@JsonProperty("project_id")
|
||||
@JSONField(name = "project_id")
|
||||
private Object projectId;
|
||||
/** 合同分类 **/
|
||||
@Schema(description = "合同分类")
|
||||
@JsonProperty("contract_category")
|
||||
@JSONField(name = "contract_category")
|
||||
private Object contractCategory;
|
||||
/** 签约日期 **/
|
||||
@Schema(description = "签约日期")
|
||||
@JsonProperty("contract_date")
|
||||
@JSONField(name = "contract_date")
|
||||
private String contractDate;
|
||||
/** 开始日期 **/
|
||||
@Schema(description = "开始日期")
|
||||
@JsonProperty("effective_date")
|
||||
@JSONField(name = "effective_date")
|
||||
private String effectiveDate;
|
||||
/** 结束日期 **/
|
||||
@Schema(description = "结束日期")
|
||||
@JsonProperty("expiry_date")
|
||||
@JSONField(name = "expiry_date")
|
||||
private String expiryDate;
|
||||
/** 是否子合同 **/
|
||||
@Schema(description = "是否子合同")
|
||||
@JsonProperty("is_sub_contract")
|
||||
@JSONField(name = "is_sub_contract")
|
||||
private Integer isSubContract;
|
||||
/** 关联合同 **/
|
||||
@Schema(description = "关联合同")
|
||||
@JsonProperty("ref_contract_id")
|
||||
@JSONField(name = "ref_contract_id")
|
||||
private String refContractId;
|
||||
/** 经办人 **/
|
||||
@Schema(description = "经办人")
|
||||
@JsonProperty("major_person_id")
|
||||
@JSONField(name = "major_person_id")
|
||||
private Object majorPersonId;
|
||||
/** 打印合同模版 **/
|
||||
@Schema(description = "打印合同模版")
|
||||
@JsonProperty("print_temp_id")
|
||||
@JSONField(name = "print_temp_id")
|
||||
private Object printTempId;
|
||||
/** 备注 **/
|
||||
@Schema(description = "备注")
|
||||
@JsonProperty("remark")
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
/** 我方类型 **/
|
||||
@Schema(description = "我方类型")
|
||||
@JsonProperty("our_company_type")
|
||||
@JSONField(name = "our_company_type")
|
||||
private Object ourCompanyType;
|
||||
/** 我方单位 **/
|
||||
@Schema(description = "我方单位")
|
||||
@JsonProperty("our_company_id")
|
||||
@JSONField(name = "our_company_id")
|
||||
private String ourCompanyId;
|
||||
/** 我方名称 **/
|
||||
@Schema(description = "我方名称")
|
||||
@JsonProperty("our_company_name")
|
||||
@JSONField(name = "our_company_name")
|
||||
private String ourCompanyName;
|
||||
/** 合作方类型 **/
|
||||
@Schema(description = "合作方类型")
|
||||
@JsonProperty("second_party_type")
|
||||
@JSONField(name = "second_party_type")
|
||||
private Object secondPartyType;
|
||||
/** 合作单位 **/
|
||||
@Schema(description = "合作单位")
|
||||
@JsonProperty("second_party_id")
|
||||
@JSONField(name = "second_party_id")
|
||||
private String secondPartyId;
|
||||
/** 合作方名称 **/
|
||||
@Schema(description = "合作方名称")
|
||||
@JsonProperty("second_party_name")
|
||||
@JSONField(name = "second_party_name")
|
||||
private String secondPartyName;
|
||||
/** 第三方类型 **/
|
||||
@Schema(description = "第三方类型")
|
||||
@JsonProperty("third_party_type")
|
||||
@JSONField(name = "third_party_type")
|
||||
private Object thirdPartyType;
|
||||
/** 第三方单位 **/
|
||||
@Schema(description = "第三方单位")
|
||||
@JsonProperty("third_party_id")
|
||||
@JSONField(name = "third_party_id")
|
||||
private String thirdPartyId;
|
||||
/** 第三方名称 **/
|
||||
@Schema(description = "第三方名称")
|
||||
@JsonProperty("third_party_name")
|
||||
@JSONField(name = "third_party_name")
|
||||
private String thirdPartyName;
|
||||
/** 原合同金额 **/
|
||||
@Schema(description = "原合同金额")
|
||||
@JsonProperty("contract_money")
|
||||
@JSONField(name = "contract_money")
|
||||
private BigDecimal contractMoney;
|
||||
/** 最终签约金额 **/
|
||||
@Schema(description = "最终签约金额")
|
||||
@JsonProperty("final_contract_amount")
|
||||
@JSONField(name = "final_contract_amount")
|
||||
private BigDecimal finalContractAmount;
|
||||
/** 签约金额大写 **/
|
||||
@Schema(description = "签约金额大写")
|
||||
@JsonProperty("final_amount_upper")
|
||||
@JSONField(name = "final_amount_upper")
|
||||
private BigDecimal finalAmountUpper;
|
||||
/** 税额 **/
|
||||
@Schema(description = "税额")
|
||||
@JsonProperty("tax_amount")
|
||||
@JSONField(name = "tax_amount")
|
||||
private BigDecimal taxAmount;
|
||||
/** 不含税金额 **/
|
||||
@Schema(description = "不含税金额")
|
||||
@JsonProperty("excluding_tax_amount")
|
||||
@JSONField(name = "excluding_tax_amount")
|
||||
private BigDecimal excludingTaxAmount;
|
||||
/** 合同附件 **/
|
||||
@Schema(description = "合同附件")
|
||||
@JsonProperty("contract_files")
|
||||
@JSONField(name = "contract_files")
|
||||
private Object contractFiles;
|
||||
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "productSubject子表数据")
|
||||
@JsonProperty("productSubjectList")
|
||||
private List<ProductSubjectModel> productSubjectList;
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "materialSubject子表数据")
|
||||
@JsonProperty("materialSubjectList")
|
||||
private List<MaterialSubjectModel> materialSubjectList;
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "worktypeSubject子表数据")
|
||||
@JsonProperty("worktypeSubjectList")
|
||||
private List<WorktypeSubjectModel> worktypeSubjectList;
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "assetSubject子表数据")
|
||||
@JsonProperty("assetSubjectList")
|
||||
private List<AssetSubjectModel> assetSubjectList;
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "taskSubject子表数据")
|
||||
@JsonProperty("taskSubjectList")
|
||||
private List<TaskSubjectModel> taskSubjectList;
|
||||
/** 子表数据 **/
|
||||
@Schema(description = "paymentPlan子表数据")
|
||||
@JsonProperty("paymentPlanList")
|
||||
private List<PaymentPlanModel> paymentPlanList;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "列表查询参数")
|
||||
public class ContractPagination extends Pagination {
|
||||
/** 流程模板id */
|
||||
@Schema(description = "流程模板id")
|
||||
private String flowId;
|
||||
/** 关键词搜索 */
|
||||
@Schema(description = "关键词搜索")
|
||||
private String yunzhupaasKeyword;
|
||||
/** 查询key */
|
||||
@Schema(description = "查询key")
|
||||
private String[] selectKey;
|
||||
/** 选中数据数组id */
|
||||
@Schema(description = "选中数据数组id")
|
||||
private Object[] selectIds;
|
||||
/** json */
|
||||
@Schema(description = "json")
|
||||
private String json;
|
||||
/** 数据类型 0-当前页,1-全部数据 */
|
||||
@Schema(description = "数据类型 0-当前页,1-全部数据")
|
||||
private String dataType;
|
||||
/** 高级查询 */
|
||||
@Schema(description = "高级查询")
|
||||
private String superQueryJson;
|
||||
/** 功能id */
|
||||
@Schema(description = "功能id")
|
||||
private String moduleId;
|
||||
/** 菜单id */
|
||||
@Schema(description = "菜单id")
|
||||
private String menuId;
|
||||
/** 合同名称 */
|
||||
@Schema(description = "合同名称")
|
||||
@JsonProperty("contract_name")
|
||||
@JSONField(name = "contractName")
|
||||
private Object contractName;
|
||||
/** 归属组织 */
|
||||
@Schema(description = "归属组织")
|
||||
@JsonProperty("org_id")
|
||||
@JSONField(name = "orgId")
|
||||
private Object orgId;
|
||||
/** 合同分类 */
|
||||
@Schema(description = "合同分类")
|
||||
@JsonProperty("contract_category")
|
||||
@JSONField(name = "contractCategory")
|
||||
private Object contractCategory;
|
||||
/** 合同编码 */
|
||||
@Schema(description = "合同编码")
|
||||
@JsonProperty("contract_code")
|
||||
@JSONField(name = "contractCode")
|
||||
private Object contractCode;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class MaterialSubjectExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
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 = "MaterialSubject子表参数")
|
||||
public class MaterialSubjectModel {
|
||||
|
||||
/** 子表:MaterialSubject 主键:subject_id **/
|
||||
@Schema(description = "主键")
|
||||
@JsonProperty("subject_id")
|
||||
private String subject_id;
|
||||
/** 材料名称 **/
|
||||
@Schema(description = "材料名称")
|
||||
@JsonProperty("material_id")
|
||||
@JSONField(name = "material_id")
|
||||
private String materialId;
|
||||
private String material_id_id;
|
||||
/** 品牌 **/
|
||||
@Schema(description = "品牌")
|
||||
@JsonProperty("brand")
|
||||
@JSONField(name = "brand")
|
||||
private String brand;
|
||||
/** 数量 **/
|
||||
@Schema(description = "数量")
|
||||
@JsonProperty("quantity")
|
||||
@JSONField(name = "quantity")
|
||||
private BigDecimal quantity;
|
||||
/** 单价 **/
|
||||
@Schema(description = "单价")
|
||||
@JsonProperty("unit_price")
|
||||
@JSONField(name = "unit_price")
|
||||
private BigDecimal unitPrice;
|
||||
/** 单位 **/
|
||||
@Schema(description = "单位")
|
||||
@JsonProperty("quantity_unit")
|
||||
@JSONField(name = "quantity_unit")
|
||||
private String 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("tax_rate")
|
||||
@JSONField(name = "tax_rate")
|
||||
private BigDecimal taxRate;
|
||||
/** 税额 **/
|
||||
@Schema(description = "税额")
|
||||
@JsonProperty("tax_amount")
|
||||
@JSONField(name = "tax_amount")
|
||||
private BigDecimal taxAmount;
|
||||
/** 保修期 **/
|
||||
@Schema(description = "保修期")
|
||||
@JsonProperty("warranty_period")
|
||||
@JSONField(name = "warranty_period")
|
||||
private BigDecimal warrantyPeriod;
|
||||
/** 保修条款 **/
|
||||
@Schema(description = "保修条款")
|
||||
@JsonProperty("warranty_terms")
|
||||
@JSONField(name = "warranty_terms")
|
||||
private String warrantyTerms;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class PaymentPlanExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
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 = "PaymentPlan子表参数")
|
||||
public class PaymentPlanModel {
|
||||
|
||||
/** 子表:PaymentPlan 主键:payment_plan_id **/
|
||||
@Schema(description = "主键")
|
||||
@JsonProperty("payment_plan_id")
|
||||
private String payment_plan_id;
|
||||
/** 序号 **/
|
||||
@Schema(description = "序号")
|
||||
@JsonProperty("plan_seq_num")
|
||||
@JSONField(name = "plan_seq_num")
|
||||
private String planSeqNum;
|
||||
/** 款项名称 **/
|
||||
@Schema(description = "款项名称")
|
||||
@JsonProperty("payment_name")
|
||||
@JSONField(name = "payment_name")
|
||||
private String paymentName;
|
||||
/** 款项类型 **/
|
||||
@Schema(description = "款项类型")
|
||||
@JsonProperty("billing_item_id")
|
||||
@JSONField(name = "billing_item_id")
|
||||
private String billingItemId;
|
||||
private String billing_item_id_id;
|
||||
/** 付款条件 **/
|
||||
@Schema(description = "付款条件")
|
||||
@JsonProperty("payment_condition")
|
||||
@JSONField(name = "payment_condition")
|
||||
private String paymentCondition;
|
||||
/** 预计付款日期 **/
|
||||
@Schema(description = "预计付款日期")
|
||||
@JsonProperty("plan_date")
|
||||
@JSONField(name = "plan_date")
|
||||
private Long planDate;
|
||||
/** 付款比例 **/
|
||||
@Schema(description = "付款比例")
|
||||
@JsonProperty("payment_ratio")
|
||||
@JSONField(name = "payment_ratio")
|
||||
private BigDecimal paymentRatio;
|
||||
/** 付款金额 **/
|
||||
@Schema(description = "付款金额")
|
||||
@JsonProperty("payment_amount")
|
||||
@JSONField(name = "payment_amount")
|
||||
private BigDecimal paymentAmount;
|
||||
/** 备注 **/
|
||||
@Schema(description = "备注")
|
||||
@JsonProperty("remark")
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class ProductSubjectExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
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 = "ProductSubject子表参数")
|
||||
public class ProductSubjectModel {
|
||||
|
||||
/** 子表:ProductSubject 主键:subject_id **/
|
||||
@Schema(description = "主键")
|
||||
@JsonProperty("subject_id")
|
||||
private String subject_id;
|
||||
/** 产品名称 **/
|
||||
@Schema(description = "产品名称")
|
||||
@JsonProperty("product_id")
|
||||
@JSONField(name = "product_id")
|
||||
private String productId;
|
||||
private String product_id_id;
|
||||
/** 品牌 **/
|
||||
@Schema(description = "品牌")
|
||||
@JsonProperty("brand")
|
||||
@JSONField(name = "brand")
|
||||
private String brand;
|
||||
/** 规格型号 **/
|
||||
@Schema(description = "规格型号")
|
||||
@JsonProperty("product_model")
|
||||
@JSONField(name = "product_model")
|
||||
private String productModel;
|
||||
/** 数量 **/
|
||||
@Schema(description = "数量")
|
||||
@JsonProperty("quantity")
|
||||
@JSONField(name = "quantity")
|
||||
private BigDecimal quantity;
|
||||
/** 单价 **/
|
||||
@Schema(description = "单价")
|
||||
@JsonProperty("unit_price")
|
||||
@JSONField(name = "unit_price")
|
||||
private BigDecimal unitPrice;
|
||||
/** 单位 **/
|
||||
@Schema(description = "单位")
|
||||
@JsonProperty("quantity_unit")
|
||||
@JSONField(name = "quantity_unit")
|
||||
private String 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("warranty_period")
|
||||
@JSONField(name = "warranty_period")
|
||||
private BigDecimal warrantyPeriod;
|
||||
/** 保修条款 **/
|
||||
@Schema(description = "保修条款")
|
||||
@JsonProperty("warranty_terms")
|
||||
@JSONField(name = "warranty_terms")
|
||||
private String warrantyTerms;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class TaskSubjectExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
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 = "TaskSubject子表参数")
|
||||
public class TaskSubjectModel {
|
||||
|
||||
/** 子表:TaskSubject 主键:subject_id **/
|
||||
@Schema(description = "主键")
|
||||
@JsonProperty("subject_id")
|
||||
private String subject_id;
|
||||
/** 任务名称 **/
|
||||
@Schema(description = "任务名称")
|
||||
@JsonProperty("task_name")
|
||||
@JSONField(name = "task_name")
|
||||
private String taskName;
|
||||
/** 任务描述 **/
|
||||
@Schema(description = "任务描述")
|
||||
@JsonProperty("task_description")
|
||||
@JSONField(name = "task_description")
|
||||
private String taskDescription;
|
||||
/** 数量 **/
|
||||
@Schema(description = "数量")
|
||||
@JsonProperty("quantity")
|
||||
@JSONField(name = "quantity")
|
||||
private BigDecimal quantity;
|
||||
/** 单价 **/
|
||||
@Schema(description = "单价")
|
||||
@JsonProperty("unit_price")
|
||||
@JSONField(name = "unit_price")
|
||||
private BigDecimal unitPrice;
|
||||
/** 单位 **/
|
||||
@Schema(description = "单位")
|
||||
@JsonProperty("quantity_unit")
|
||||
@JSONField(name = "quantity_unit")
|
||||
private String 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("remark")
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.cm.model.contract;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 合同管理
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class WorktypeSubjectExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user