package thyyxxk.webserver.entity.dictionary;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author dj
 */
@Data
public class CodeName {
    private String code;
    private String name;
    private String codeRs;
    private String opScale;
    private String opType;
    private String opTypeName;
    private String pyCode;
    private String ssfz;
    private String deptName;
    private String ybCode;
    private BigDecimal price;
    private Integer statusFlag;
    private boolean disabled;
    private Integer genderRestriction;
    private Integer minAgeRestriction;
    private Integer maxAgeRestriction;

    public CodeName() {
    }

    public CodeName(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getValue() {
        return code;
    }

    public String getLabel() {
        return name;
    }

}
