MAccount.java 1.08 KB
package vion.model.monitor;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import vion.dto.BaseDTO;

import java.time.LocalDateTime;

/**
 * 项目集团信息
 */
@Getter
@Setter
@TableName(value = "m_account")
public class MAccount extends BaseDTO {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * agent uid
     */
    @TableField(value = "agent_uid")
    private String agentUid;

    /**
     * agent类型 1:store,2:mall
     */
    @TableField(value = "agent_type")
    private Short agentType;

    /**
     * 集团uid
     */
    @TableField(value = "\"uid\"")
    private String uid;

    /**
     * 	集团名称
     */
    @TableField(value = "\"name\"", condition = SqlCondition.LIKE)
    private String name;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}