对比新文件 |
| | |
| | | package org.jeecg.modules.dnc.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @NoArgsConstructor |
| | | @TableName(value = "nc_component_department") |
| | | public class ComponentDepartment { |
| | | @TableId(value = "component_depart_id") |
| | | private String componentDepartId; |
| | | @TableField(value = "component_id") |
| | | private String componentId; |
| | | @TableField(value = "depart_id") |
| | | private String departId; |
| | | @JsonIgnore |
| | | @TableField(value = "create_time", select = false, fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | @JsonIgnore |
| | | @TableField(value = "create_by", select = false, fill = FieldFill.INSERT) |
| | | private String createBy; |
| | | |
| | | public ComponentDepartment(String componentId, String departId){ |
| | | this.componentId = componentId; |
| | | this.departId = departId; |
| | | } |
| | | } |