/*
 * @Author: YKH
 * @Date: 2022-04-14 11:33:31
 * @LastEditTime: 2022-06-14 15:05:07
 * @Description: 
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\entity\robot_enterprise_wechat.ts
 */
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from 'midwayjs-cool-core';
import { Column } from 'typeorm';

/**
 * 企业微信机器人Webhook地址记录
 */
@EntityModel('robot_enterprise_wechat')
export class SyRobotEnterpriseWeChatEntity extends BaseEntity {

  @Column({ comment: '企业微信群名称', length: 100 })
  name: string;

  @Column({ comment: '描述', nullable: true, length: 200 })
  description: string;

  @Column({ comment: 'Webhook地址' })
  webhook: string;

  @Column({ comment: '状态 0:禁用 1:启用', default: 1, type: 'tinyint' })
  status: number;

}

