评估申请的代码架构
This commit is contained in:
68
src/main/java/com/rj/entity/LbAssessmentApplication.java
Normal file
68
src/main/java/com/rj/entity/LbAssessmentApplication.java
Normal file
@@ -0,0 +1,68 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("lb_assessment_application")
|
||||
@Schema(description = "申请评估表")
|
||||
public class LbAssessmentApplication implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId("id")
|
||||
@Schema(description = "主键ID(UUID)")
|
||||
private String id;
|
||||
|
||||
@TableField("tenant_id")
|
||||
@Schema(description = "租户ID")
|
||||
private Long tenantId;
|
||||
|
||||
@TableField("applicant_name")
|
||||
@Schema(description = "申请人")
|
||||
private String applicantName;
|
||||
|
||||
@TableField("applicant_phone")
|
||||
@Schema(description = "申请人电话")
|
||||
private String applicantPhone;
|
||||
|
||||
@TableField("applicant_age")
|
||||
@Schema(description = "年龄")
|
||||
private Integer applicantAge;
|
||||
|
||||
@TableField("work_experience")
|
||||
@Schema(description = "从业经历")
|
||||
private String workExperience;
|
||||
|
||||
@TableField("colleague_name")
|
||||
@Schema(description = "同事姓名")
|
||||
private String colleagueName;
|
||||
|
||||
@TableField("colleague_phone")
|
||||
@Schema(description = "同事电话")
|
||||
private String colleaguePhone;
|
||||
|
||||
@TableField("team_leader_name")
|
||||
@Schema(description = "团队长姓名")
|
||||
private String teamLeaderName;
|
||||
|
||||
@TableField("application_datetime")
|
||||
@Schema(description = "申请日期时间")
|
||||
private LocalDateTime applicationDatetime;
|
||||
|
||||
@TableField("created_at")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@TableField("updated_at")
|
||||
@Schema(description = "修改时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
74
src/main/java/com/rj/entity/LbPurchaseApply.java
Normal file
74
src/main/java/com/rj/entity/LbPurchaseApply.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("lb_purchase_apply")
|
||||
@Schema(description = "进货申请信息表")
|
||||
public class LbPurchaseApply implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@Schema(description = "主键ID")
|
||||
private Long id;
|
||||
|
||||
@TableField("tenant_id")
|
||||
@Schema(description = "租户id")
|
||||
private String tenantId;
|
||||
|
||||
@TableField("apply_user")
|
||||
@Schema(description = "申请人")
|
||||
private String applyUser;
|
||||
|
||||
@TableField("apply_phone")
|
||||
@Schema(description = "申请人电话")
|
||||
private String applyPhone;
|
||||
|
||||
@TableField("try_date")
|
||||
@Schema(description = "试用日期")
|
||||
private String tryDate;
|
||||
|
||||
@TableField("age")
|
||||
@Schema(description = "年龄")
|
||||
private Integer age;
|
||||
|
||||
@TableField("work_experience")
|
||||
@Schema(description = "从业经历")
|
||||
private String workExperience;
|
||||
|
||||
@TableField("colleague_name")
|
||||
@Schema(description = "同事姓名")
|
||||
private String colleagueName;
|
||||
|
||||
@TableField("colleague_phone")
|
||||
@Schema(description = "同事电话")
|
||||
private String colleaguePhone;
|
||||
|
||||
@TableField("team_leader")
|
||||
@Schema(description = "团队长")
|
||||
private String teamLeader;
|
||||
|
||||
@TableField("apply_date")
|
||||
@Schema(description = "申请日期")
|
||||
private LocalDate applyDate;
|
||||
|
||||
@TableField("create_time")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@TableField("update_time")
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user