XcglAssoOption.java 1.46 KB
Newer Older
yuquan.zhu committed
1 2
package cn.timer.api.bean.xcgl;

3 4 5 6
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
yuquan.zhu committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @author lal 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="xcgl_asso_option")
@ApiModel("薪资选项")
public class XcglAssoOption extends Model<XcglAssoOption> {

    /**
	 * 
	 */
	private static final long serialVersionUID = 245831452008273254L;

	@Id
    @GeneratedValue
    @TableId (type = IdType.AUTO)
	@ApiModelProperty(value="id id",example="101")
    private Integer id;
    
	@ApiModelProperty(value="选项名 ",example="选项名")
    private String optionname;
    
	@ApiModelProperty(value="薪资项名id 薪资项名id",example="101")
    private Integer itemid;
    
	@ApiModelProperty(value="状态 1:系统项;2:非系统项",example="101")
    private Integer type;
	
	@ApiModelProperty(value="对应库表名",example="对应库表名")
    private String tablename;
	
	@ApiModelProperty(value="对应库表字段名",example="对应库表字段名")
    private String fieldname;
    

}