package com.ruoyi.sales.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import java.time.LocalDateTime; import java.math.BigDecimal; import java.time.LocalDate; /** * 诉讼管理 主表实体 */ @Data @TableName("sales_lawsuit") public class SalesLawsuit { private static final long serialVersionUID = 1L; /** 主键 */ @TableId(type = IdType.AUTO) private Long id; /** 案件编号 */ @Excel(name = "案件编号") private String caseNo; /** 所属项目 ID */ private Long projectId; /** 所属项目名称 */ @Excel(name = "所属项目名称") private String projectName; /** 关联销售合同 ID */ private Long contractId; /** 合同编号 */ @Excel(name = "合同编号") private String contractNo; /** 诉讼状态 */ @Excel(name = "诉讼状态") private String lawsuitStatus; /** 立案时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "立案时间", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate filingDate; /** 承办律师/法务负责人 */ @Excel(name = "承办律师/法务负责人") private String lawyer; /** 开庭时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "开庭时间", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate hearingDate; /** 诉讼标的金额 */ @Excel(name = "诉讼标的金额") private BigDecimal claimAmount; /** 判决结果摘要 */ @Excel(name = "判决结果摘要") private String judgmentSummary; /** 诉讼进展备注 */ @Excel(name = "诉讼进展备注") private String progressRemark; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(fill = FieldFill.UPDATE) private LocalDateTime updateTime; /** 更新者 */ @TableField(fill = FieldFill.UPDATE) private Integer updateUser; /** 租户ID */ @TableField(fill = FieldFill.INSERT) private Integer tenantId; /** 部门ID */ @TableField(fill = FieldFill.INSERT) private Long deptId; /** 删除标志 */ @TableLogic private String delFlag; }