package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.UserAccount;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 账号管理业务对象 t_user_account
 *
 * @author yxy
 * @date 2026-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserAccount.class, reverseConvertGenerate = false)
public class UserAccountBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 出入帐账户类型 0 出账  1 入账
     */
    private String type;

    /**
     * 账号类型
     */
    private String accountType;

    /**
     * 账号名称
     */
    private String accountName;

    /**
     * 账号
     */
    private String account;

    /**
     * 是否默认账号  0 否 1 是
     */
    private String isDefault;

    /**
     * 店铺状态（0正常 1停用）
     */
    private String status;


}
