师傅端实体字段补充,以及师傅团队增加
This commit is contained in:
parent
cb3c5b789c
commit
98bc598067
|
|
@ -19,7 +19,7 @@ public class Customer extends BaseEntity {
|
||||||
@Excel(name = "用户名", cellType = Excel.ColumnType.STRING)
|
@Excel(name = "用户名", cellType = Excel.ColumnType.STRING)
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@Excel(name = "用户微信账号", cellType = Excel.ColumnType.STRING)
|
@Excel(name = "用户账号", cellType = Excel.ColumnType.STRING)
|
||||||
private String account;
|
private String account;
|
||||||
|
|
||||||
@Excel(name = "用户手机号", cellType = Excel.ColumnType.STRING)
|
@Excel(name = "用户手机号", cellType = Excel.ColumnType.STRING)
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,43 @@
|
||||||
package com.ghy.worker.domain;
|
package com.ghy.worker.domain;
|
||||||
|
|
||||||
|
import com.ghy.common.annotation.Excel;
|
||||||
import com.ghy.common.core.domain.BaseEntity;
|
import com.ghy.common.core.domain.BaseEntity;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author clunt
|
* @author clunt
|
||||||
* 师傅实体
|
* 师傅实体
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
public class Worker extends BaseEntity {
|
public class Worker extends BaseEntity {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Excel(name = "师傅id", cellType = Excel.ColumnType.NUMERIC)
|
||||||
|
private Long workerId;
|
||||||
|
|
||||||
|
@Excel(name = "师傅名字", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Excel(name = "师傅账号", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String account;
|
||||||
|
|
||||||
|
@Excel(name = "师傅手机号", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
@Excel(name = "微信open_id", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String openId;
|
||||||
|
|
||||||
|
@Excel(name = "用户状态 0生效 1冻结 2删除", readConverterExp = "0=生效,1=冻结,2=删除")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@Excel(name = "用户头像", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String workerLogoUrl;
|
||||||
|
|
||||||
|
@Excel(name = "领导团队扣点", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String leaderTeamRate;
|
||||||
|
|
||||||
|
@Excel(name = "领导团队扣费金额", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String leaderTeamMoney;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
package com.ghy.worker.domain;
|
||||||
|
|
||||||
|
import com.ghy.common.annotation.Excel;
|
||||||
|
import com.ghy.common.core.domain.BaseEntity;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author clunt
|
||||||
|
* 师傅团队
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class WorkerTeam extends BaseEntity {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Excel(name = "师傅团队id", cellType = Excel.ColumnType.NUMERIC)
|
||||||
|
private Long workerTeamId;
|
||||||
|
|
||||||
|
@Excel(name = "团队归属师傅id", cellType = Excel.ColumnType.NUMERIC)
|
||||||
|
private Long leaderId;
|
||||||
|
|
||||||
|
@Excel(name = "团队成员师傅id", cellType = Excel.ColumnType.NUMERIC)
|
||||||
|
private Long workerId;
|
||||||
|
|
||||||
|
@Excel(name = "成员师傅备注", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String workerName;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<result property="remark" column="remark" />
|
<result property="remark" column="remark" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectCustomerPlace">
|
<sql id="selectWorker">
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue