| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import annotation.Excel; |
| | | import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.alibaba.excel.annotation.write.style.ContentStyle; |
| | | import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum; |
| | | import com.alibaba.excel.enums.poi.VerticalAlignmentEnum; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.system.entity.BaseEntity; |
| | | import org.apache.commons.lang.builder.ToStringBuilder; |
| | | import org.apache.commons.lang.builder.ToStringStyle; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 t_contract |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-12 |
| | | * 运维合同对象 t_contract |
| | | * |
| | | * @author gonghl |
| | | * @date 2024-04-22 |
| | | */ |
| | | public class TContract extends BaseEntity |
| | | { |
| | | @Data |
| | | @ExcelIgnoreUnannotated |
| | | @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER) |
| | | public class TContract extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 主键 */ |
| | | /** |
| | | * 主键 |
| | | */ |
| | | @ExcelProperty("序号") |
| | | private Long id; |
| | | |
| | | /** 公司id */ |
| | | @Excel(name = "公司id") |
| | | private Long companyId; |
| | | /** |
| | | * 单位id |
| | | */ |
| | | private Integer unitId; |
| | | |
| | | /** 公司名 */ |
| | | @Excel(name = "公司名") |
| | | private String companyName; |
| | | /** |
| | | * 合同名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** 对接公安部门id */ |
| | | @Excel(name = "对接公安部门id") |
| | | private Long deptId; |
| | | |
| | | /** 部门名称 */ |
| | | @Excel(name = "部门名称") |
| | | private String deptName; |
| | | |
| | | /** 合同明细json */ |
| | | @Excel(name = "合同明细json") |
| | | private String detail; |
| | | |
| | | /** 开始时间 */ |
| | | @Excel(name = "开始时间") |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date startTime; |
| | | |
| | | /** 截止时间 */ |
| | | @Excel(name = "截止时间") |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date endTime; |
| | | |
| | | public Date getStartTime() { |
| | | return startTime; |
| | | } |
| | | @TableLogic |
| | | private String deleted; |
| | | |
| | | public void setStartTime(Date startTime) { |
| | | this.startTime = startTime; |
| | | } |
| | | |
| | | public Date getEndTime() { |
| | | return endTime; |
| | | } |
| | | |
| | | public void setEndTime(Date endTime) { |
| | | this.endTime = endTime; |
| | | } |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setCompanyId(Long companyId) |
| | | { |
| | | this.companyId = companyId; |
| | | } |
| | | |
| | | public Long getCompanyId() |
| | | { |
| | | return companyId; |
| | | } |
| | | public void setCompanyName(String companyName) |
| | | { |
| | | this.companyName = companyName; |
| | | } |
| | | |
| | | public String getCompanyName() |
| | | { |
| | | return companyName; |
| | | } |
| | | public void setDeptId(Long deptId) |
| | | { |
| | | this.deptId = deptId; |
| | | } |
| | | |
| | | public Long getDeptId() |
| | | { |
| | | return deptId; |
| | | } |
| | | public void setDeptName(String deptName) |
| | | { |
| | | this.deptName = deptName; |
| | | } |
| | | |
| | | public String getDeptName() |
| | | { |
| | | return deptName; |
| | | } |
| | | public void setDetail(String detail) |
| | | { |
| | | this.detail = detail; |
| | | } |
| | | |
| | | public String getDetail() |
| | | { |
| | | return detail; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "TContract{" + |
| | | "id=" + id + |
| | | ", companyId=" + companyId + |
| | | ", companyName='" + companyName + '\'' + |
| | | ", deptId=" + deptId + |
| | | ", deptName='" + deptName + '\'' + |
| | | ", detail='" + detail + '\'' + |
| | | ", startTime=" + startTime + |
| | | ", endTime=" + endTime + |
| | | '}'; |
| | | } |
| | | } |