package org.dromara.main.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.main.domain.MainBackClause;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AutoMapper(target = MainBackClause.class)
public class MainBackClauseVo implements Serializable {

    private Long id;
    private Long categoryId;
    private String name;
//    @Translation(type= TransConstant.DICT_TYPE_TO_LABEL, mapper = "sys_clause_type")
    private String type;
    private String description;
    private BigDecimal price;
    private String status;
    private String remark;
    private Long createDept;
    private Date createTime;

    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, mapper = "type", other = "sys_clause_type")
    private String typeName;

}
