|
@@ -1,218 +1,68 @@
|
|
|
package com.fuint.common.dto;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 后台账户实体类
|
|
|
+ *
|
|
|
+ * Created by FSQ
|
|
|
+ * CopyRight https://www.fuint.cn
|
|
|
*/
|
|
|
+@Getter
|
|
|
+@Setter
|
|
|
public class AccountDto {
|
|
|
|
|
|
- /**
|
|
|
- * 账户主键id
|
|
|
- */
|
|
|
+ @ApiModelProperty("账户主键id")
|
|
|
private Integer id;
|
|
|
|
|
|
- /**
|
|
|
- * 账户编码
|
|
|
- */
|
|
|
+ @ApiModelProperty("账户编码")
|
|
|
private String accountKey;
|
|
|
|
|
|
- /**
|
|
|
- * 账户名称
|
|
|
- */
|
|
|
+ @ApiModelProperty("账户名称")
|
|
|
private String accountName;
|
|
|
- /**
|
|
|
- * 密码
|
|
|
- */
|
|
|
+
|
|
|
+ @ApiModelProperty("密码")
|
|
|
private String password;
|
|
|
|
|
|
- /**
|
|
|
- * 账户状态
|
|
|
- * 状态 : 0 无效 1 有效
|
|
|
- */
|
|
|
+ @ApiModelProperty("状态 : 0 无效 1 有效")
|
|
|
private int accountStatus;
|
|
|
|
|
|
- /**
|
|
|
- * 是否激活
|
|
|
- * 状态 : 0 未激活 1已激活
|
|
|
- */
|
|
|
+ @ApiModelProperty("激活状态 : 0 未激活 1已激活")
|
|
|
private int isActive;
|
|
|
|
|
|
- /**
|
|
|
- * 创建时间
|
|
|
- */
|
|
|
+ @ApiModelProperty("创建时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date createDate;
|
|
|
|
|
|
- /**
|
|
|
- * 修改时间
|
|
|
- */
|
|
|
+ @ApiModelProperty("修改时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date modifyDate;
|
|
|
|
|
|
- /**
|
|
|
- * 随机码(公盐)
|
|
|
- */
|
|
|
+ @ApiModelProperty("随机码(公盐)")
|
|
|
private String salt;
|
|
|
|
|
|
- /**
|
|
|
- * 是否被锁定
|
|
|
- */
|
|
|
+ @ApiModelProperty("是否被锁定")
|
|
|
private int locked;
|
|
|
|
|
|
- /**
|
|
|
- * 管理员真实姓名
|
|
|
- */
|
|
|
+ @ApiModelProperty("真实姓名")
|
|
|
private String realName;
|
|
|
|
|
|
- /**
|
|
|
- * 所属店铺id
|
|
|
- */
|
|
|
- private Integer storeId;
|
|
|
-
|
|
|
- /**
|
|
|
- * 所属店铺名称
|
|
|
- */
|
|
|
- private String storeName;
|
|
|
-
|
|
|
- /**
|
|
|
- * 员工ID
|
|
|
- */
|
|
|
- private Integer staffId;
|
|
|
-
|
|
|
- /**
|
|
|
- * 所属商户
|
|
|
- */
|
|
|
+ @ApiModelProperty("所属商户ID")
|
|
|
private Integer merchantId;
|
|
|
|
|
|
- /**
|
|
|
- * 所属商户名称
|
|
|
- */
|
|
|
+ @ApiModelProperty("所属商户名称")
|
|
|
private String merchantName;
|
|
|
|
|
|
- public Integer getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- public void setId(Integer id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAccountKey() {
|
|
|
- return accountKey;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAccountKey(String accountKey) {
|
|
|
- this.accountKey = accountKey;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAccountName() {
|
|
|
- return accountName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAccountName(String accountName) {
|
|
|
- this.accountName = accountName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPassword() {
|
|
|
- return password;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPassword(String password) {
|
|
|
- this.password = password;
|
|
|
- }
|
|
|
-
|
|
|
- public int getAccountStatus() {
|
|
|
- return accountStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAccountStatus(int accountStatus) {
|
|
|
- this.accountStatus = accountStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public int getIsActive() {
|
|
|
- return isActive;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsActive(int isActive) {
|
|
|
- this.isActive = isActive;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getCreateDate() {
|
|
|
- return createDate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCreateDate(Date createDate) {
|
|
|
- this.createDate = createDate;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getModifyDate() {
|
|
|
- return modifyDate;
|
|
|
- }
|
|
|
-
|
|
|
- public void setModifyDate(Date modifyDate) {
|
|
|
- this.modifyDate = modifyDate;
|
|
|
- }
|
|
|
-
|
|
|
- public String getSalt() {
|
|
|
- return salt;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSalt(String salt) {
|
|
|
- this.salt = salt;
|
|
|
- }
|
|
|
-
|
|
|
- public int getLocked() {
|
|
|
- return locked;
|
|
|
- }
|
|
|
-
|
|
|
- public void setLocked(int locked) {
|
|
|
- this.locked = locked;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRealName() {
|
|
|
- return realName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRealName(String realName) {
|
|
|
- this.realName = realName;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getStoreId() {
|
|
|
- return storeId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStoreId(Integer storeId) {
|
|
|
- this.storeId = storeId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStoreName(String storeName) {
|
|
|
- this.storeName = storeName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getStoreName() {
|
|
|
- return storeName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStaffId(Integer staffId) {
|
|
|
- this.staffId = staffId;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getStaffId() {
|
|
|
- return staffId;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getMerchantId() {
|
|
|
- return merchantId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMerchantId(Integer merchantId) {
|
|
|
- this.merchantId = merchantId;
|
|
|
- }
|
|
|
+ @ApiModelProperty("所属店铺ID")
|
|
|
+ private Integer storeId;
|
|
|
|
|
|
- public void setMerchantName(String merchantName) {
|
|
|
- this.merchantName = merchantName;
|
|
|
- }
|
|
|
+ @ApiModelProperty("所属店铺名称")
|
|
|
+ private String storeName;
|
|
|
|
|
|
- public String getMerchantName() {
|
|
|
- return merchantName;
|
|
|
- }
|
|
|
+ @ApiModelProperty("关联员工ID")
|
|
|
+ private Integer staffId;
|
|
|
}
|